]> git.baikalelectronics.ru Git - kernel.git/commit
HID: ll_driver: Extend the interface with idle requests
authorBenjamin Tissoires <benjamin.tissoires@redhat.com>
Wed, 27 Feb 2013 15:38:17 +0000 (16:38 +0100)
committerJiri Kosina <jkosina@suse.cz>
Thu, 7 Mar 2013 14:58:17 +0000 (15:58 +0100)
commit2b426967b2352f54b3ee7ca0efa1c5705c0da935
tree8b2da81d84a83ffe794f404cc547e6e8f5c7beef
parent328cc1583c8c6ca77b34647560ce70d17a8fe3f2
HID: ll_driver: Extend the interface with idle requests

Some drivers send the idle command directly to underlying device,
creating an unwanted dependency on the underlying transport layer.
This patch adds hid_hw_idle() to the interface, thereby removing
usbhid from the lion share of the drivers.

Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Reviewed-by: David Herrmann <dh.herrmann@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/usbhid/hid-core.c
include/linux/hid.h