kernel_samsung_a53x/drivers/input/keyboard
Hans de Goede 0fca22a5b0 Input: atkbd - use ab83 as id when skipping the getid command
commit 58f65f9db7e0de366a5a115c2e2c0703858bba69 upstream.

Barnabás reported that the change to skip the getid command
when the controller is in translated mode on laptops caused
the Version field of his "AT Translated Set 2 keyboard"
input device to change from ab83 to abba, breaking a custom
hwdb entry for this keyboard.

Use the standard ab83 id for keyboards when getid is skipped
(rather then that getid fails) to avoid reporting a different
Version to userspace then before skipping the getid.

Fixes: 936e4d49ecbc ("Input: atkbd - skip ATKBD_CMD_GETID in translated mode")
Reported-by: Barnabás Pőcze <pobrn@protonmail.com>
Closes: https://lore.kernel.org/linux-input/W1ydwoG2fYv85Z3C3yfDOJcVpilEvGge6UGa9kZh8zI2-qkHXp7WLnl2hSkFz63j-c7WupUWI5TLL6n7Lt8DjRuU-yJBwLYWrreb1hbnd6A=@protonmail.com/
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20240116204325.7719-1-hdegoede@redhat.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-11-18 12:12:44 +01:00
..
adc-keys.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
adp5520-keys.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
adp5588-keys.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
adp5589-keys.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
amikbd.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
applespi.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
applespi.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
applespi_trace.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
atakbd.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
atkbd.c Input: atkbd - use ab83 as id when skipping the getid command 2024-11-18 12:12:44 +01:00
bcm-keypad.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cap11xx.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
clps711x-keypad.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
cros_ec_keyb.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
davinci_keyscan.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
dlink-dir685-touchkeys.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ep93xx_keypad.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
goldfish_events.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
gpio_keys.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
gpio_keys_polled.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hil_kbd.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hilkbd.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hpps2atkbd.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
imx_keypad.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
imx_sc_key.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
ipaq-micro-keys.c Input: ipaq-micro-keys - add error handling for devm_kmemdup 2024-11-18 12:12:00 +01:00
iqs62x-keys.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
jornada680_kbd.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
jornada720_kbd.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
lkkbd.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
lm8323.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
lm8333.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
locomokbd.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
lpc32xx-keys.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
maple_keyb.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
matrix_keypad.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
max7359_keypad.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mcs_touchkey.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mpr121_touchkey.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
mtk-pmic-keys.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
newtonkbd.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nomadik-ske-keypad.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
nspire-keypad.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
omap-keypad.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
omap4-keypad.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
opencores-kbd.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pmic8xxx-keypad.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pxa27x_keypad.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
pxa930_rotary.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
qt1050.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
qt1070.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
qt2160.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
s2mps23-key.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
s2mps25-key.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
s2mpu13-key.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
samsung-keypad.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sh_keysc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
snvs_pwrkey.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
spear-keyboard.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
st-keyscan.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
stmpe-keypad.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
stowaway.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sun4i-lradc-keys.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
sunkbd.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
tc3589x-keypad.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
tca6416-keypad.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
tca8418_keypad.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
tegra-kbc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
tm2-touchkey.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
twl4030_keypad.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
xtkbd.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00