diff options
Diffstat (limited to 'drivers/char/keyboard.c')
-rw-r--r-- | drivers/char/keyboard.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/char/keyboard.c b/drivers/char/keyboard.c index 54109dc9240c..25be2102a60a 100644 --- a/drivers/char/keyboard.c +++ b/drivers/char/keyboard.c | |||
@@ -1315,10 +1315,14 @@ static bool kbd_match(struct input_handler *handler, struct input_dev *dev) | |||
1315 | if (test_bit(EV_SND, dev->evbit)) | 1315 | if (test_bit(EV_SND, dev->evbit)) |
1316 | return true; | 1316 | return true; |
1317 | 1317 | ||
1318 | if (test_bit(EV_KEY, dev->evbit)) | 1318 | if (test_bit(EV_KEY, dev->evbit)) { |
1319 | for (i = KEY_RESERVED; i < BTN_MISC; i++) | 1319 | for (i = KEY_RESERVED; i < BTN_MISC; i++) |
1320 | if (test_bit(i, dev->keybit)) | 1320 | if (test_bit(i, dev->keybit)) |
1321 | return true; | 1321 | return true; |
1322 | for (i = KEY_BRL_DOT1; i <= KEY_BRL_DOT10; i++) | ||
1323 | if (test_bit(i, dev->keybit)) | ||
1324 | return true; | ||
1325 | } | ||
1322 | 1326 | ||
1323 | return false; | 1327 | return false; |
1324 | } | 1328 | } |