]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit22e59eef8e2a7f3c8a6a72a78c5fdf586c1f97c2
tree1e340233ee7136051a1dd4ec3d3b30327e9196d1
parentba1ce6d71d29510c992eea3f37695053f107198b
xhci: Don't submit commands when the host is dead.

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>
drivers/usb/host/xhci.c