]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
HID: fix hidbus/appletouch device binding regression
authorJiri Slaby <jirislaby@gmail.com>
Wed, 22 Oct 2008 12:47:18 +0000 (14:47 +0200)
committerJiri Kosina <jkosina@suse.cz>
Wed, 22 Oct 2008 12:47:18 +0000 (14:47 +0200)
commitb4d8e4736c94e78fd846dca0c95a3a0710582584
tree30128466329024f1a30819502e642217d8a9198d
parenta73a63701f8f23e70674b3c5e367a0a726c18468
HID: fix hidbus/appletouch device binding regression

The appletouch mouse devices are grabbed by the hid bus and not
released even if apple driver says ENODEV (as expected) -- these
are composite USB devices, for which we only ignore the mouse
interface. This is currently not handled by hidbus code properly.

Move the ignoring one level upper to forbid the hid layer to grab the
device.

Reported-by: Justin Mattock <justinmattock@gmail.com>
Reported-by: Steven Noonan <steven@uplinklabs.net>
Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-apple.c
drivers/hid/hid-core.c