diff options
author | 2009-05-02 16:29:47 -0700 | |
---|---|---|
committer | 2009-05-02 16:29:47 -0700 | |
commit | 020f932bd246e9d595f7a006250762d98ffeab46 (patch) | |
tree | b2ab5dc5bea498368148664d226820bac9ab24f2 /drivers/hid/hid-apple.c | |
parent | Merge branch 'for-linus' of git://www.linux-m32r.org/git/takata/linux-2.6_dev (diff) | |
parent | HID: fix oops in hid_check_keys_pressed() (diff) | |
download | linux-dev-020f932bd246e9d595f7a006250762d98ffeab46.tar.xz linux-dev-020f932bd246e9d595f7a006250762d98ffeab46.zip |
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid:
HID: fix oops in hid_check_keys_pressed()
HID: fix possible deadlock in usbhid_close()
HID: Fix the support for apple mini aluminium keyboard
HID: Add support for the G25 force feedback wheel in native mode
HID: hidraw -- fix missing unlocks in unlocked_ioctl
Diffstat (limited to 'drivers/hid/hid-apple.c')
-rw-r--r-- | drivers/hid/hid-apple.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hid/hid-apple.c b/drivers/hid/hid-apple.c index 7359d9d88e46..acbce5745b0c 100644 --- a/drivers/hid/hid-apple.c +++ b/drivers/hid/hid-apple.c @@ -151,7 +151,7 @@ static int hidinput_apple_event(struct hid_device *hid, struct input_dev *input, if (fnmode) { int do_translate; - trans = apple_find_translation((hid->product < 0x220 || + trans = apple_find_translation((hid->product < 0x21d || hid->product >= 0x300) ? powerbook_fn_keys : apple_fn_keys, usage->code); |