diff options
Diffstat (limited to 'drivers/hid/hid-input.c')
-rw-r--r-- | drivers/hid/hid-input.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/hid/hid-input.c b/drivers/hid/hid-input.c index c3eb3f13e2ca..452b94dd7401 100644 --- a/drivers/hid/hid-input.c +++ b/drivers/hid/hid-input.c | |||
@@ -218,8 +218,9 @@ int hidinput_apple_event(struct hid_device *hid, struct input_dev *input, | |||
218 | } | 218 | } |
219 | } | 219 | } |
220 | 220 | ||
221 | if (test_bit(usage->code, hid->pb_pressed_numlock) || | 221 | if (hid->quirks & HID_QUIRK_APPLE_NUMLOCK_EMULATION && ( |
222 | test_bit(LED_NUML, input->led)) { | 222 | test_bit(usage->code, hid->pb_pressed_numlock) || |
223 | test_bit(LED_NUML, input->led))) { | ||
223 | trans = find_translation(powerbook_numlock_keys, usage->code); | 224 | trans = find_translation(powerbook_numlock_keys, usage->code); |
224 | 225 | ||
225 | if (trans) { | 226 | if (trans) { |