]> 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)
commit3d4fb09b7040c6f4b676389af704644b5812ac29
tree1e340233ee7136051a1dd4ec3d3b30327e9196d1
parentf0cade42bd7c6de265a54523012f7c4d9ff0fe4d
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