linux_dsm_epyc7002/drivers/input
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
..
gameport
joystick Merge branch 'for-linus' into next 2020-07-21 22:17:27 -07:00
keyboard Merge branch 'elan-i2c' into next 2020-07-21 19:02:33 -07:00
misc Input: ims-pcu - return error code rather than -ENOMEM 2020-08-06 17:33:40 -07:00
mouse Input: sentelic - fix error return when fsp_reg_write fails 2020-08-06 17:33:43 -07:00
rmi4 Input: synaptics-rmi4 - fix error return code in rmi_driver_probe() 2020-04-28 16:11:40 -07:00
serio Merge branch 'for-linus' into next 2020-07-21 22:17:27 -07:00
tablet Input: Use fallthrough pseudo-keyword 2020-07-07 11:25:54 -07:00
touchscreen Input: atmel_mxt_ts - only read messages in mxt_acquire_irq() when necessary 2020-07-28 18:45:36 -07:00
apm-power.c
evbug.c
evdev.c Merge branch 'for-linus' into next 2020-05-17 21:10:28 -07:00
ff-core.c
ff-memless.c Input: ff-memless - kill timer in destroy() 2019-11-15 11:45:03 -08:00
input-compat.c
input-compat.h
input-leds.c
input-mt.c Input: mt - cleanup open-coded __set_bit() 2020-07-15 17:31:46 -07:00
input-polldev.c
input-poller.c Input: add input_get_poll_interval() 2019-10-04 12:31:46 -07:00
input-poller.h
input.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input 2020-03-26 20:49:44 -07:00
joydev.c
Kconfig
Makefile
matrix-keymap.c
mousedev.c
sparse-keymap.c Input: Use fallthrough pseudo-keyword 2020-07-07 11:25:54 -07:00