diff options
author | Mathias Nyman <mathias.nyman@linux.intel.com> | 2014-11-27 16:19:16 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-12-03 00:14:29 (GMT) |
commit | d97b4f8d690b9fc0e7dd4f4ff5aaea838254e350 (patch) | |
tree | 31e5cb937bee36a831880baabd0c48ed61971b46 /ipc | |
parent | 4801d4ea559440b7d63babdac1b1b43a13ac7562 (diff) | |
download | linux-d97b4f8d690b9fc0e7dd4f4ff5aaea838254e350.tar.xz |
xhci: don't use the same variable for stopped and halted rings current TD
Endpoints halted on errors, and endpoints stopped manually both used
the same ep->stopped_td to store the halted or stopped td. this causes
confusion and possible races.
There is no longer a need to use the ep->stopped_td variable to store
the halted TD. A halted endpoint is handled immediately and we can pass
it to the handling function directly.
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions