linux/drivers/input
Dmitry Torokhov e8688b93ce Input: cypress_ps2 - fix error handling when sending command fails
Stop layering error handling in cypress_ps2_sendbyte() and simply
pass on error code from ps2_sendbyte() and use it in the callers.

This fixes mishandling of error condition in
cypress_ps2_read_cmd_status() which expects errors to be negative.

Reported-by: Igor Artemiev <Igor.A.Artemiev@mcst.ru>
Link: https://lore.kernel.org/r/20240628224728.2180126-2-dmitry.torokhov@gmail.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
2024-07-03 13:48:53 -07:00
..
gameport Input: gameport - use sizeof(*pointer) instead of sizeof(type) 2024-06-07 11:59:41 -07:00
joystick Input: adc-joystick - move axes data into the main structure 2024-06-21 10:16:40 -07:00
keyboard Input: qt1050 - handle CHIP_ID reading error 2024-06-25 09:13:08 -07:00
misc Input: ims-pcu - switch to using cleanup functions 2024-06-20 14:57:08 -07:00
mouse Input: cypress_ps2 - fix error handling when sending command fails 2024-07-03 13:48:53 -07:00
rmi4 Linux 6.9 2024-05-27 21:37:18 -07:00
serio Input: serio - use sizeof(*pointer) instead of sizeof(type) 2024-06-07 11:59:21 -07:00
tablet Input: tablet - use sizeof(*pointer) instead of sizeof(type) 2024-06-02 21:32:03 -07:00
tests Input: add missing MODULE_DESCRIPTION() macros 2024-06-09 14:38:48 -07:00
touchscreen Input: ili210x - use guard notation when disabling and reenabling IRQ 2024-06-28 15:15:20 -07:00
apm-power.c
evbug.c Input: evbug - remove an empty comment block 2021-05-24 21:06:39 -07:00
evdev.c Input: evdev - annotate struct evdev_client with __counted_by 2023-09-30 09:24:16 -07:00
ff-core.c Input: ff-core - prefer struct_size over open coded arithmetic 2024-04-30 14:04:31 -07:00
ff-memless.c input: drop empty comment blocks 2022-09-29 16:25:42 -07:00
input-compat.c
input-compat.h
input-core-private.h Input: deactivate MT slots when inhibiting or suspending devices 2022-07-20 11:35:13 -07:00
input-leds.c Input: leds - change config symbol dependency for audio mute trigger 2024-03-03 14:46:06 -08:00
input-mt.c Input: deactivate MT slots when inhibiting or suspending devices 2022-07-20 11:35:13 -07:00
input-poller.c Input: use input_device_enabled() 2020-12-02 22:10:33 -08:00
input-poller.h
input.c Input: try trimming too long modalias strings 2024-05-19 17:58:45 -07:00
joydev.c Input: joydev - fix comment typo 2022-09-25 00:57:25 -07:00
Kconfig Input: tests - modular KUnit tests should not depend on KUNIT=y 2023-05-02 10:39:00 -07:00
Makefile Input: Add KUnit tests for some of the input core helper functions 2023-04-01 22:47:04 -07:00
matrix-keymap.c Input: add missing MODULE_DESCRIPTION() macros 2024-06-09 14:38:48 -07:00
mousedev.c
sparse-keymap.c
touchscreen.c Input: touchscreen - avoid bitwise vs logical OR warning 2021-10-15 22:22:54 -07:00
vivaldi-fmap.c Input: add missing MODULE_DESCRIPTION() macros 2024-06-09 14:38:48 -07:00