HID: usbhid: enable remote wakeup for keyboards
authorAlan Stern <stern@rowland.harvard.edu>
Fri, 2 Apr 2010 17:21:58 +0000 (13:21 -0400)
committerJiri Kosina <jkosina@suse.cz>
Fri, 2 Apr 2010 23:36:03 +0000 (01:36 +0200)
commit3d61510f4ecacfe47c75c0eb51c0659dfa77fb1b
treea5f3ba578df7e19e619074457b72e0578dbcc6ba
parent20a3ce7e490c5015d051f78414f6dd146eec283f
HID: usbhid: enable remote wakeup for keyboards

This patch (as1365) enables remote wakeup by default for USB keyboard
devices.  Keyboards in general are supposed to be wakeup devices, but
the correct place to enable it depends on the device's bus; no single
approach will work for all keyboard devices.  In particular, this
covers only USB keyboards (and then only those supporting the boot
protocol).

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/usbhid/hid-core.c
drivers/hid/usbhid/usbkbd.c