kernel_samsung_a53x/drivers/input/keyboard
Andrei Lalaev 19d9ee38ef Input: qt1050 - handle CHIP_ID reading error
[ Upstream commit 866a5c7e2781cf1b019072288f1f5c64186dcb63 ]

If the device is missing, we get the following error:

  qt1050 3-0041: ID -1340767592 not supported

Let's handle this situation and print more informative error
when reading of CHIP_ID fails:

  qt1050 3-0041: Failed to read chip ID: -6

Fixes: cbebf5addec1 ("Input: qt1050 - add Microchip AT42QT1050 support")
Signed-off-by: Andrei Lalaev <andrei.lalaev@anton-paar.com>
Reviewed-by: Marco Felsch <m.felsch@pengutronix.de>
Link: https://lore.kernel.org/r/20240617183018.916234-1-andrey.lalaev@gmail.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-23 23:20:10 +01:00
..
adc-keys.c
adp5520-keys.c
adp5588-keys.c
adp5589-keys.c
amikbd.c
applespi.c
applespi.h
applespi_trace.h
atakbd.c
atkbd.c
bcm-keypad.c
cap11xx.c
clps711x-keypad.c
cros_ec_keyb.c
davinci_keyscan.c
dlink-dir685-touchkeys.c
ep93xx_keypad.c
goldfish_events.c
gpio_keys.c
gpio_keys_polled.c
hil_kbd.c
hilkbd.c
hpps2atkbd.h
imx_keypad.c
imx_sc_key.c
ipaq-micro-keys.c
iqs62x-keys.c
jornada680_kbd.c
jornada720_kbd.c
Kconfig
lkkbd.c
lm8323.c
lm8333.c
locomokbd.c
lpc32xx-keys.c
Makefile
maple_keyb.c
matrix_keypad.c
max7359_keypad.c
mcs_touchkey.c
mpr121_touchkey.c
mtk-pmic-keys.c
newtonkbd.c
nomadik-ske-keypad.c
nspire-keypad.c
omap-keypad.c
omap4-keypad.c
opencores-kbd.c
pmic8xxx-keypad.c
pxa27x_keypad.c
pxa930_rotary.c
qt1050.c Input: qt1050 - handle CHIP_ID reading error 2024-11-23 23:20:10 +01:00
qt1070.c
qt2160.c
s2mps23-key.c
s2mps25-key.c
s2mpu13-key.c
samsung-keypad.c
sh_keysc.c
snvs_pwrkey.c
spear-keyboard.c
st-keyscan.c
stmpe-keypad.c
stowaway.c
sun4i-lradc-keys.c
sunkbd.c
tc3589x-keypad.c
tca6416-keypad.c
tca8418_keypad.c
tegra-kbc.c
tm2-touchkey.c
twl4030_keypad.c
xtkbd.c