commit | 21d0e51bfb290349adc02fa8fec716d77f53df51 | [log] [tgz] |
---|---|---|
author | Sarah Sharp <sarah.a.sharp@linux.intel.com> | Fri Feb 21 14:29:02 2014 -0800 |
committer | Sarah Sharp <sarah.a.sharp@linux.intel.com> | Tue Mar 04 15:40:45 2014 -0800 |
tree | 721fb06c523273535fa1fedab52b2c61a0f9fccc | |
parent | 50e8725e7c429701e530439013f9681e1fa36b5d [diff] |
xhci: Kill streams URBs when the host dies. If the host controller stops responding to commands, we need to kill all the URBs that were queued to all endpoints. The current code would only kill URBs that had been queued to the endpoint rings. ep->ring is set to NULL if streams has been enabled for the endpoint, which means URBs submitted with a non-zero stream_id would never get killed. Fix this. Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>