mirror-linux/drivers/input/keyboard
Hans de Goede 9cf6e24c9f Input: atkbd - do not skip atkbd_deactivate() when skipping ATKBD_CMD_GETID
After commit 936e4d49ec ("Input: atkbd - skip ATKBD_CMD_GETID in
translated mode") not only the getid command is skipped, but also
the de-activating of the keyboard at the end of atkbd_probe(), potentially
re-introducing the problem fixed by commit be2d7e4233 ("Input: atkbd -
fix multi-byte scancode handling on reconnect").

Make sure multi-byte scancode handling on reconnect is still handled
correctly by not skipping the atkbd_deactivate() call.

Fixes: 936e4d49ec ("Input: atkbd - skip ATKBD_CMD_GETID in translated mode")
Tested-by: Paul Menzel <pmenzel@molgen.mpg.de>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20240126160724.13278-3-hdegoede@redhat.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
2024-02-01 20:48:52 -08:00
..
Kconfig
Makefile
adc-keys.c
adp5520-keys.c Input: adp5520-keys - convert to platform remove callback returning void 2023-09-23 19:16:40 -07:00
adp5588-keys.c Input: adp5588-keys - use devm_regulator_get_enable() 2023-07-07 17:03:34 -07:00
adp5589-keys.c Input: Switch i2c drivers back to use .probe() 2023-05-17 09:59:11 -07:00
amikbd.c Input: amikbd - convert to use devm_* api 2023-07-20 16:52:48 -07:00
applespi.c
applespi.h
applespi_trace.h
atakbd.c
atkbd.c Input: atkbd - do not skip atkbd_deactivate() when skipping ATKBD_CMD_GETID 2024-02-01 20:48:52 -08:00
bcm-keypad.c Input: bcm-keypad - correct dev_err_probe() error 2023-07-12 11:54:19 -07:00
cap11xx.c Input: cap11xx - convert to use maple tree register cache 2023-12-12 21:39:09 -08:00
clps711x-keypad.c
cros_ec_keyb.c Input: cros_ec_keyb - convert to platform remove callback returning void 2023-09-23 19:16:40 -07:00
cypress-sf.c Input: Switch i2c drivers back to use .probe() 2023-05-17 09:59:11 -07:00
dlink-dir685-touchkeys.c Input: Switch i2c drivers back to use .probe() 2023-05-17 09:59:11 -07:00
ep93xx_keypad.c Input: ep93xx_keypad - convert to platform remove callback returning void 2023-09-23 19:16:40 -07:00
goldfish_events.c
gpio_keys.c Input: gpio-keys - filter gpio_keys -EPROBE_DEFER error messages 2023-12-28 23:44:55 -08:00
gpio_keys_polled.c Input: gpio_keys_polled - simplify with dev_err_probe() 2023-07-07 16:54:26 -07:00
hil_kbd.c
hilkbd.c
hpps2atkbd.h
imx_keypad.c
imx_sc_key.c
ipaq-micro-keys.c Input: ipaq-micro-keys - add error handling for devm_kmemdup 2023-12-03 19:04:34 +00:00
iqs62x-keys.c Input: iqs62x-keys - convert to platform remove callback returning void 2023-09-23 19:16:40 -07:00
jornada680_kbd.c
jornada720_kbd.c
lkkbd.c
lm8323.c Input: lm8323 - convert to use devm_* api 2023-07-28 18:04:00 -07:00
lm8333.c Input: lm8333 - convert to use devm_* api 2023-07-20 16:52:47 -07:00
locomokbd.c
lpc32xx-keys.c Input: lpc32xx-keys - convert to devm_platform_ioremap_resource() 2023-07-10 17:44:25 -07:00
maple_keyb.c
matrix_keypad.c Input: matrix_keypad - convert to platform remove callback returning void 2023-09-23 19:16:41 -07:00
max7359_keypad.c Input: Switch i2c drivers back to use .probe() 2023-05-17 09:59:11 -07:00
mcs_touchkey.c Input: mcs-touchkey - fix uninitialized use of error in mcs_touchkey_probe() 2023-07-25 09:51:13 -07:00
mpr121_touchkey.c Input: Switch i2c drivers back to use .probe() 2023-05-17 09:59:11 -07:00
mt6779-keypad.c
mtk-pmic-keys.c
newtonkbd.c
nomadik-ske-keypad.c Input: nomadik-ske-keypad - convert to use devm_* api 2023-07-10 17:44:29 -07:00
nspire-keypad.c Input: nspire-keypad - use devm_platform_get_and_ioremap_resource() 2023-07-10 17:44:26 -07:00
omap-keypad.c Input: omap-keypad - drop optional GPIO support 2023-12-13 21:26:13 -08:00
omap4-keypad.c Input: omap4-keypad - react on keypresses if device is runtime-suspended 2023-12-11 18:47:17 -08:00
opencores-kbd.c Input: opencores-kbd - convert to devm_platform_ioremap_resource() 2023-07-10 17:44:27 -07:00
pinephone-keyboard.c Input: pinephone-keyboard - use devm_regulator_get_enable() 2023-07-07 17:03:26 -07:00
pmic8xxx-keypad.c
pxa27x_keypad.c Input: pxa27x_keypad - convert to devm_platform_ioremap_resource() 2023-07-10 17:44:28 -07:00
qt1050.c Input: qt1050 - convert to use maple tree register cache 2023-12-12 21:39:09 -08:00
qt1070.c Input: qt1070 - convert to use devm_* api 2023-07-20 16:52:49 -07:00
qt2160.c Input: qt2160 - convert to use devm_* api 2023-07-28 18:03:11 -07:00
samsung-keypad.c Input: samsung-keypad - convert to platform remove callback returning void 2023-09-23 19:16:41 -07:00
sh_keysc.c Input: sh_keysc - convert to platform remove callback returning void 2023-09-23 19:16:41 -07:00
snvs_pwrkey.c
spear-keyboard.c Input: spear-keyboard - convert to platform remove callback returning void 2023-09-23 19:16:42 -07:00
st-keyscan.c
stmpe-keypad.c Input: stmpe-keypad - convert to platform remove callback returning void 2023-09-23 19:16:42 -07:00
stowaway.c
sun4i-lradc-keys.c Input: Explicitly include correct DT includes 2023-07-17 10:03:07 -07:00
sunkbd.c
tc3589x-keypad.c
tca6416-keypad.c Input: tca6416-keypad - drop unused include 2023-12-13 21:26:13 -08:00
tca8418_keypad.c Input: Switch i2c drivers back to use .probe() 2023-05-17 09:59:11 -07:00
tegra-kbc.c Input: tegra-kbc - use device_get_match_data() 2023-10-13 20:18:43 -07:00
tm2-touchkey.c Input: Explicitly include correct DT includes 2023-07-17 10:03:07 -07:00
twl4030_keypad.c
xtkbd.c