Input: check switch bitmap when matching handlers
PATCH 1/1 Input: check switch bitmap when matching handlers
Input: check switch bitmap when matching handlers
Switch bitmap was added to input_device_id structure so we should check it when matching handlers and input devices.
Signed-off-by Dmitry Torokhov <[email protected]>
---
drivers/input/input.c | 1 + 1 files changed, 1 insertion(+)
drivers/input/input.c +1 -0
@@ -309,6 +309,7 @@ static struct input_device_id *input_matMATCH_BIT (ledbit,LED_MAX );MATCH_BIT (sndbit,SND_MAX );MATCH_BIT (ffbit,FF_MAX ); +MATCH_BIT (swbit,SW_MAX );return id; }