usb: core: Temporary workaround for usb auto-suspend issue
authorBenoit Goby <benoit@android.com>
Mon, 22 Nov 2010 22:46:05 +0000 (14:46 -0800)
committerBenoit Goby <benoit@android.com>
Tue, 23 Nov 2010 01:51:08 +0000 (17:51 -0800)
commit463100c1cedd5684188c8d5ece84c4af6dd42090
treebc346213f86778f2f89ce855f4b31f2e6e8e3072
parentf34e6dc515d00d1efbbc62278f08643b658269ee
usb: core: Temporary workaround for usb auto-suspend issue

If a device aborts suspend, usb_resume may be called on a device whose
parent has been auto-suspended. Recursively resume its parents and
change their runtime pm state.

Change-Id: I8f96482bdafae3888a0df9cb30422236a001e17d
Signed-off-by: Benoit Goby <benoit@android.com>
drivers/usb/core/driver.c