USB: additional power savings for cdc-acm devices that support remote wakeup
authorOliver Neukum <oliver@neukum.org>
Fri, 20 Jun 2008 09:25:57 +0000 (11:25 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 21 Jul 2008 22:16:36 +0000 (15:16 -0700)
commit11ea859d64b69a747d6b060b9ed1520eab1161fe
tree3b2de5ad788d145101762876e12c78c5b6383f93
parent188d63602756bfd4aa1fb61d531dbd59bddac962
USB: additional power savings for cdc-acm devices that support remote wakeup

this patch saves power for cdc-acm devices that support remote wakeup
while the device is connected.

- request needs_remote_wakeup when needed
- delayed write while a device is autoresumed
- the device is marked busy when appropriate

Signed-off-by: Oliver Neukum <oneukum@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/class/cdc-acm.c
drivers/usb/class/cdc-acm.h