usbcore: Bug fix: system can't suspend with USB3.0 device connected to USB3.0 hub
authorAndiry Xu <andiry.xu@amd.com>
Thu, 31 Mar 2011 06:56:50 +0000 (14:56 +0800)
committerSarah Sharp <sarah.a.sharp@linux.intel.com>
Wed, 13 Apr 2011 23:57:34 +0000 (16:57 -0700)
commita8f08d86dbf1b7bb5869cf1807d2fd40ec9d6d0a
treefbca783c75f55cac4eaa5de288cce1cf60fe27e8
parentb214f191d95ba4b5a35aebd69cd129cf7e3b1884
usbcore: Bug fix: system can't suspend with USB3.0 device connected to USB3.0 hub

This patch clear PORT_POWER when suspend a USB3.0 device behind a USB3.0
external hub, so the system can suspend and resume.

Note USB3.0 device may not work after system resume and this is a temporary
workaround. The correct fix will be in future patches.

Signed-off-by: Andiry Xu <andiry.xu@amd.com>
Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
drivers/usb/core/hub.c