xhci: Don't submit commands when the host is dead.
authorSarah Sharp <sarah.a.sharp@linux.intel.com>
Mon, 23 May 2011 23:41:17 +0000 (16:41 -0700)
committerSarah Sharp <sarah.a.sharp@linux.intel.com>
Wed, 25 May 2011 22:23:35 +0000 (15:23 -0700)
When the xHCI host controller dies, the USB core may attempt to reset the
devices to their default configuration before disconnecting them.  This
causes calls into the xHCI bandwidth allocation functions.  Don't allow
those functions to submit commands or work on xHCI structures if the host
controller is marked as dying.

Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>

No differences found