USB: RESET_RESUME needs to block autosuspend when remote wakeup is needed
authorOliver Neukum <oliver@neukum.org>
Mon, 15 Sep 2008 15:29:28 +0000 (17:29 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 17 Oct 2008 21:40:55 +0000 (14:40 -0700)
commit399d31da4e2f701ba91cdb4b39e074d6e16174a9
tree6aaf3ffb3d4121df80db32df14cbe8c916a0fc7b
parent682650437e7acef01e914a7fb6ef16da16bb69c5
USB: RESET_RESUME needs to block autosuspend when remote wakeup is needed

Reset upon resumption will wipe the input buffer and is therefore
a reason to not suspend if remote wakeup is requested because
the driver needs that data.

Signed-off-by: Oliver Neukum <oneukum@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/core/driver.c