commit | fe6c6c13d8dcb32398eef143e2e8efc3fb4019bf | [log] [tgz] |
---|---|---|
author | Sarah Sharp <sarah.a.sharp@linux.intel.com> | Mon May 23 16:41:17 2011 -0700 |
committer | Sarah Sharp <sarah.a.sharp@linux.intel.com> | Wed May 25 15:23:35 2011 -0700 |
tree | 1e340233ee7136051a1dd4ec3d3b30327e9196d1 | |
parent | 0714a57c6865f31ed3366e5abdfae7da580d41d2 [diff] |
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>