android_kernel_msm-6.1_noth.../drivers/input
Jeff LaBundy fa25c90ee9 Input: iqs7222 - report malformed properties
[ Upstream commit 404f3b48e65f058d94429e4a1ec16a1f82ff3b2f ]

Nonzero return values of several calls to fwnode_property_read_u32()
are silently ignored, leaving no way to know the properties were not
applied in the event of an error.

Solve this problem by evaluating fwnode_property_read_u32()'s return
value, and reporting an error for any nonzero return value not equal
to -EINVAL which indicates the property was absent altogether.

Fixes: e505edaedc ("Input: add support for Azoteq IQS7222A/B/C")
Signed-off-by: Jeff LaBundy <jeff@labundy.com>
Reviewed-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
Link: https://lore.kernel.org/r/Y1SRRrpQXvkETjfm@nixie71
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-12-31 13:33:08 +01:00
..
gameport input: drop empty comment blocks 2022-09-29 16:25:42 -07:00
joystick Input: joystick - fix Kconfig warning for JOYSTICK_ADC 2022-12-31 13:32:09 +01:00
keyboard Merge branch 'next' into for-linus 2022-10-09 22:30:23 -07:00
misc Input: iqs7222 - report malformed properties 2022-12-31 13:33:08 +01:00
mouse Input: synaptics - switch touchpad on HP Laptop 15-da3001TU to RMI mode 2022-10-15 20:44:12 -07:00
rmi4 Input: synaptics-rmi4 - convert to use sysfs_emit() APIs 2022-09-27 09:00:41 -07:00
serio Input updates for v6.1-rc5 2022-11-18 17:56:29 -08:00
tablet input: drop empty comment blocks 2022-09-29 16:25:42 -07:00
touchscreen Input: elants_i2c - properly handle the reset GPIO when power is off 2022-12-31 13:32:12 +01:00
apm-power.c
evbug.c
evdev.c
ff-core.c input: drop empty comment blocks 2022-09-29 16:25:42 -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-mt.c Input: deactivate MT slots when inhibiting or suspending devices 2022-07-20 11:35:13 -07:00
input-poller.c
input-poller.h
input.c Input: deactivate MT slots when inhibiting or suspending devices 2022-07-20 11:35:13 -07:00
joydev.c Input: joydev - fix comment typo 2022-09-25 00:57:25 -07:00
Kconfig
Makefile
matrix-keymap.c
mousedev.c
sparse-keymap.c
touchscreen.c
vivaldi-fmap.c