Input: keyboard - "keycode & KEY_MAX" changes some keycode values
authorAndrew Liu <andrew.liu200917@gmail.com>
Sat, 23 Nov 2013 18:06:36 +0000 (10:06 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 26 Nov 2013 02:26:17 +0000 (18:26 -0800)
commite4cfb034e89a1c7148f617735d92a3655d27773f
tree5fcd037bdae5695fa786ea691e671c57bb15f67b
parent5cf0eb9875cb26ebdc60d08444272b2ea219386e
Input: keyboard - "keycode & KEY_MAX" changes some keycode values

For exmaple, keycode: KEY_OK(0x160) is changed by "and" operation with
KEY_MAX(0x2ff) to KEY_KPENTER(96).

Signed-off-by: Andrew Liu <andrew.liu200917@gmail.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/keyboard/adp5588-keys.c
drivers/input/keyboard/adp5589-keys.c
drivers/input/keyboard/bf54x-keys.c
drivers/input/misc/pcf8574_keypad.c