WSL2-Linux-Kernel/drivers/input
Miaoqian Lin f0cfae3e0d Input: omap4-keypad - fix pm_runtime_get_sync() error checking
[ Upstream commit 81022a1704 ]

If the device is already in a runtime PM enabled state
pm_runtime_get_sync() will return 1, so a test for negative
value should be used to check for errors.

Fixes: f77621cc64 ("Input: omap-keypad - dynamically handle register offsets")
Signed-off-by: Miaoqian Lin <linmq006@gmail.com>
Link: https://lore.kernel.org/r/20220412070131.19848-1-linmq006@gmail.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-04-27 14:38:58 +02:00
..
gameport bus: Make remove callback return void 2021-07-21 11:53:42 +02:00
joystick Input: spaceball - fix parsing of movement data packets 2022-01-05 12:42:39 +01:00
keyboard Input: omap4-keypad - fix pm_runtime_get_sync() error checking 2022-04-27 14:38:58 +02:00
misc Input: iqs626a - prohibit inlining of channel parsing functions 2021-12-29 12:29:00 +01:00
mouse Input: elan_i2c - fix regulator enable count imbalance after suspend/resume 2022-03-08 19:12:53 +01:00
rmi4
serio Input: i8042 - enable deferred probe quirk for ASUS UM325UA 2022-01-05 12:42:32 +01:00
tablet Input: aiptek - properly check endpoint type 2022-03-23 09:16:43 +01:00
touchscreen Input: zinitix - do not report shadow fingers 2022-04-08 14:22:47 +02:00
Kconfig
Makefile
apm-power.c
evbug.c
evdev.c
ff-core.c
ff-memless.c
input-compat.c
input-compat.h
input-leds.c
input-mt.c
input-poller.c
input-poller.h
input.c Revert "Input: clear BTN_RIGHT/MIDDLE on buttonpads" 2022-04-08 14:22:55 +02:00
joydev.c
matrix-keymap.c
mousedev.c
sparse-keymap.c
touchscreen.c Input: touchscreen - avoid bitwise vs logical OR warning 2021-10-15 22:22:54 -07:00