]> git.karo-electronics.de Git - linux-beck.git/commit
xhci: Fix re-init on power loss after resume.
authorSarah Sharp <sarah.a.sharp@linux.intel.com>
Fri, 17 Dec 2010 20:35:05 +0000 (12:35 -0800)
committerSarah Sharp <sarah.a.sharp@linux.intel.com>
Mon, 14 Mar 2011 01:23:45 +0000 (18:23 -0700)
commit65b22f93fde320b34d43e4a3978e1b52b1bcc279
tree087312018a0076866f28e056f1481db76cfe2b78
parentf9de8151877b4f01cc8e124b0e213a6c6c78d970
xhci: Fix re-init on power loss after resume.

When a host controller has lost power during a suspend, we must
reinitialize it.  Now that the xHCI host has two roothubs, xhci_run() and
xhci_stop() expect to be called with both usb_hcd structures.  Be sure
that the re-initialization code in xhci_resume() mirrors the process the
USB PCI probe function uses.

Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
drivers/usb/host/xhci.c