projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
87e807b
)
[PATCH] Input: check switch bitmap when matching handlers
author
Dmitry Torokhov
<dtor_core@ameritech.net>
Sat, 24 Sep 2005 07:02:29 +0000
(
02:02
-0500)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Sat, 24 Sep 2005 17:44:25 +0000
(10:44 -0700)
The wwitch bitmap was added to input_device_id structure and we should
check it when matching handlers and input devices.
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/input/input.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/input/input.c
b/drivers/input/input.c
index 88636a204525e84862972ea7034c02ae020ae4bb..14ae5583e198fa9669bf8f9a70b9a86a8fe32009 100644
(file)
--- a/
drivers/input/input.c
+++ b/
drivers/input/input.c
@@
-308,6
+308,7
@@
static struct input_device_id *input_match_device(struct input_device_id *id, st
MATCH_BIT(ledbit, LED_MAX);
MATCH_BIT(sndbit, SND_MAX);
MATCH_BIT(ffbit, FF_MAX);
+ MATCH_BIT(swbit, SW_MAX);
return id;
}