alistair23-linux/drivers/input/mouse
Colin Ian King ea38f06e02 Input: sentelic - fix error return when fsp_reg_write fails
Currently when the call to fsp_reg_write fails -EIO is not being returned
because the count is being returned instead of the return value in retval.
Fix this by returning the value in retval instead of count.

Addresses-Coverity: ("Unused value")
Fixes: fc69f4a6af ("Input: add new driver for Sentelic Finger Sensing Pad")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Link: https://lore.kernel.org/r/20200603141218.131663-1-colin.king@canonical.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
2020-08-06 17:33:43 -07:00
..
alps.c Input: alps - remove redundant assignment to variable ret 2020-08-06 17:33:41 -07:00
alps.h Input: psmouse - drop all unneeded functions from mouse headers 2019-08-20 14:15:36 -07:00
amimouse.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
appletouch.c Input: Use fallthrough pseudo-keyword 2020-07-07 11:25:54 -07:00
atarimouse.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
bcm5974.c
byd.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
byd.h Input: psmouse - drop all unneeded functions from mouse headers 2019-08-20 14:15:36 -07:00
cyapa.c Input: cyapa - switch to using devm_device_add_group() 2019-07-24 12:59:01 +03:00
cyapa.h
cyapa_gen3.c Input: Use fallthrough pseudo-keyword 2020-07-07 11:25:54 -07:00
cyapa_gen5.c Input: Use fallthrough pseudo-keyword 2020-07-07 11:25:54 -07:00
cyapa_gen6.c Input: Use fallthrough pseudo-keyword 2020-07-07 11:25:54 -07:00
cypress_ps2.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
cypress_ps2.h Input: psmouse - drop all unneeded functions from mouse headers 2019-08-20 14:15:36 -07:00
elan_i2c.h Input: elan_i2c - add support for high resolution reports 2020-07-21 10:11:18 -07:00
elan_i2c_core.c Input: elan_i2c - add ic type 0x15 2020-07-29 23:34:36 -07:00
elan_i2c_i2c.c Input: elan_i2c - add support for high resolution reports 2020-07-21 10:11:18 -07:00
elan_i2c_smbus.c Input: elan_i2c - add support for high resolution reports 2020-07-21 10:11:18 -07:00
elantech.c Input: Use fallthrough pseudo-keyword 2020-07-07 11:25:54 -07:00
elantech.h Input: psmouse - drop all unneeded functions from mouse headers 2019-08-20 14:15:36 -07:00
focaltech.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
focaltech.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
gpio_mouse.c Input: gpio_mouse - switch to using input device polling mode 2019-10-04 12:31:46 -07:00
hgpk.c Input: Use fallthrough pseudo-keyword 2020-07-07 11:25:54 -07:00
hgpk.h Input: psmouse - drop all unneeded functions from mouse headers 2019-08-20 14:15:36 -07:00
inport.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 2019-05-30 11:26:35 -07:00
Kconfig Input: fix Kconfig indentation 2019-11-22 15:19:19 -08:00
lifebook.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
lifebook.h Input: psmouse - drop all unneeded functions from mouse headers 2019-08-20 14:15:36 -07:00
logibm.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 2019-05-30 11:26:35 -07:00
logips2pp.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
logips2pp.h Input: psmouse - drop all unneeded functions from mouse headers 2019-08-20 14:15:36 -07:00
Makefile
maplemouse.c
navpoint.c Input: Use fallthrough pseudo-keyword 2020-07-07 11:25:54 -07:00
pc110pad.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 2019-05-30 11:26:35 -07:00
psmouse-base.c Input: psmouse - add a newline when printing 'proto' by sysfs 2020-07-21 22:33:27 -07:00
psmouse-smbus.c Input: psmouse - switch to using i2c_new_scanned_device() 2020-02-10 10:00:23 -08:00
psmouse.h
pxa930_trkball.c remove ioremap_nocache and devm_ioremap_nocache 2020-01-06 09:45:59 +01:00
rpcmouse.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
sentelic.c Input: sentelic - fix error return when fsp_reg_write fails 2020-08-06 17:33:43 -07:00
sentelic.h Input: psmouse - drop all unneeded functions from mouse headers 2019-08-20 14:15:36 -07:00
sermouse.c Input: Use fallthrough pseudo-keyword 2020-07-07 11:25:54 -07:00
synaptics.c Input: synaptics - enable InterTouch for ThinkPad X1E 1st gen 2020-07-06 17:41:40 -07:00
synaptics.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
synaptics_i2c.c
synaptics_usb.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
touchkit_ps2.c
touchkit_ps2.h Input: psmouse - drop all unneeded functions from mouse headers 2019-08-20 14:15:36 -07:00
trackpoint.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
trackpoint.h Input: psmouse - drop all unneeded functions from mouse headers 2019-08-20 14:15:36 -07:00
vmmouse.c input/vmmouse: Update the backdoor call with support for new instructions 2019-08-28 13:43:01 +02:00
vmmouse.h Input: psmouse - drop all unneeded functions from mouse headers 2019-08-20 14:15:36 -07:00
vsxxxaa.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 2019-05-30 11:26:35 -07:00