alistair23-linux/drivers/input/keyboard
Dmitry Torokhov 8679ee4204 Input: gpio-keys - fix check for disabling unsupported keys
Commit 4ea14a53d8 ("Input: gpio-keys - report
error when disabling unsupported key") tried let user know that they
attempted to disable an unsupported key, unfortunately the check is wrong
as it believes that all codes are invalid. Fix it by ensuring that keys
that we try to disable are subset of keys (or switches) that device
reports.

Fixes: 4ea14a53d8 ("Input: gpio-keys - report error when disabling unsupported key")
Reported-by: Ivaylo Dimitrov <ivo.g.dimitrov.75@gmail.com>
Tested-by: Ivaylo Dimitrov <ivo.g.dimitrov.75@gmail.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
2016-01-10 09:51:56 -08:00
..
adp5520-keys.c
adp5588-keys.c
adp5589-keys.c Input: drop owner assignment from i2c_driver 2015-07-17 16:57:00 -07:00
amikbd.c
atakbd.c
atkbd.c Input: atkbd - document "no new force-release quirks" policy 2015-04-11 00:03:08 -07:00
bcm-keypad.c Input: add driver for Broadcom keypad controller 2015-03-02 15:16:52 -08:00
bf54x-keys.c
cap11xx.c Input: cap11xx - add LED support 2015-08-16 23:22:01 -07:00
clps711x-keypad.c Input: improve usage of gpiod API 2015-06-16 17:09:14 -07:00
cros_ec_keyb.c mfd: cros_ec: Support multiple EC in a system 2015-06-15 13:18:23 +01:00
davinci_keyscan.c
ep93xx_keypad.c
goldfish_events.c
gpio_keys.c Input: gpio-keys - fix check for disabling unsupported keys 2016-01-10 09:51:56 -08:00
gpio_keys_polled.c Input: gpio_keys_polled - add support for abs/rel axis 2015-10-14 17:15:04 -07:00
hil_kbd.c
hilkbd.c
hpps2atkbd.h
imx_keypad.c Input: imx_keypad - remove obsolete comment 2015-09-05 11:49:33 -07:00
ipaq-micro-keys.c Input: driver for microcontroller keys on the iPaq h3xxx 2015-03-06 11:25:31 -08:00
jornada680_kbd.c
jornada720_kbd.c
Kconfig Input: goldfish - allow compile the driver with COMPILE_TEST 2015-10-02 11:44:16 -07:00
lkkbd.c
lm8323.c
lm8333.c Input: drop owner assignment from i2c_driver 2015-07-17 16:57:00 -07:00
locomokbd.c
lpc32xx-keys.c
Makefile input: keyboard: imx: add snvs power key driver 2015-07-15 10:17:06 +08:00
maple_keyb.c
matrix_keypad.c Input: matrix_keypad - change name of wakeup property to "wakeup-source" 2015-07-23 15:01:22 -07:00
max7359_keypad.c Input: max7359_keypad - switch to using matrix_keypad_build_keymap() 2015-05-15 15:58:40 -07:00
mcs_touchkey.c Input: drop owner assignment from i2c_driver 2015-07-17 16:57:00 -07:00
mpr121_touchkey.c Input: drop owner assignment from i2c_driver 2015-07-17 16:57:00 -07:00
newtonkbd.c
nomadik-ske-keypad.c Input: nomadik-ske-keypad - fix a trivial typo 2015-10-22 23:31:22 -07:00
nspire-keypad.c
omap-keypad.c Input: omap-keypad - remove dead check 2016-01-07 17:26:23 -08:00
omap4-keypad.c Input: omap4-keypad - fix memory leak 2015-09-28 16:41:07 -07:00
opencores-kbd.c
pmic8xxx-keypad.c Input: pmic8xxx-keypad - change name of wakeup property 2015-07-23 15:01:23 -07:00
pxa27x_keypad.c Input: pxa27x_keypad - remove an unneeded NULL check 2015-02-11 23:07:12 -08:00
pxa930_rotary.c
qt1070.c Input: drop owner assignment from i2c_driver 2015-07-17 16:57:00 -07:00
qt2160.c Input: drop owner assignment from i2c_driver 2015-07-17 16:57:00 -07:00
samsung-keypad.c Input: samsung-keypad - change name of wakeup property 2015-07-23 17:34:02 -07:00
sh_keysc.c
snvs_pwrkey.c Input: snvs_pwrkey - remove duplicated semicolon 2015-10-26 17:28:34 -07:00
spear-keyboard.c Input: update email-id of Rajeev Kumar 2015-05-22 10:59:55 -07:00
st-keyscan.c
stmpe-keypad.c
stowaway.c
sun4i-lradc-keys.c
sunkbd.c
tc3589x-keypad.c Input: tc3589x-keypad - switch to using managed resources 2015-07-23 17:34:03 -07:00
tca6416-keypad.c
tca8418_keypad.c Input: drop owner assignment from i2c_driver 2015-07-17 16:57:00 -07:00
tegra-kbc.c Input: tegra-kbc - drop use of IRQF_NO_SUSPEND flag 2015-10-26 01:39:07 -07:00
twl4030_keypad.c
w90p910_keypad.c
xtkbd.c