HID: usbhid: enable remote wakeup for keyboards
commit2c43858d67b0474fde66cf50469438242ba17a3e
authorAlan Stern <stern@rowland.harvard.edu>
Fri, 2 Apr 2010 17:21:58 +0000 (2 13:21 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 2 Aug 2010 17:30:23 +0000 (2 10:30 -0700)
treec8e39c778e7e184ad274ae81457c7874257fa737
parent01b9cd5d1870fb45aa398124366fe872255b523c
HID: usbhid: enable remote wakeup for keyboards

commit 3d61510f4ecacfe47c75c0eb51c0659dfa77fb1b upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/hid/usbhid/hid-core.c
drivers/hid/usbhid/usbkbd.c