Thread (4 messages) 4 messages, 1 author, 2012-07-15

[PATCH 0/3] HID: Add HID_CLAIMED_OTHER device flag

flat view
STALE5203d

From: David Herrmann <hidden>
Date: 2012-07-15 18:22:15

Hi

Drivers like picolcd and wiimote work without the generic hid drivers (hidinput,
hidraw, hiddev). Therefore, we need to make sure that the hid-core does not drop
the device when no driver claimed it.

This introduces the HID_CLAIMED_OTHER flag which can be set by said drivers to
tell hid-core to allow the device without a generic driver loaded.

Patch 2 and 3 convert picolcd and wiimote to use this new flag.

Regards
David

David Herrmann (3):
  HID: Add HID_CLAIMED_OTHER for non-generic drivers
  HID: picolcd: explicitly claim hid devices with HID_CLAIMED_OTHER
  HID: wiimote: explicitly claim hid devices with HID_CLAIMED_OTHER

 drivers/hid/hid-core.c         | 2 ++
 drivers/hid/hid-picolcd.c      | 7 +++----
 drivers/hid/hid-wiimote-core.c | 1 +
 include/linux/hid.h            | 1 +
 4 files changed, 7 insertions(+), 4 deletions(-)

-- 
1.7.11.2
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help