From: Mathias Nyman Date: Thu, 27 Nov 2014 16:19:16 +0000 (+0200) Subject: xhci: don't use the same variable for stopped and halted rings current TD X-Git-Tag: omap-for-v3.19/fixes-rc1~87^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d97b4f8d690b9fc0e7dd4f4ff5aaea838254e350;p=pandora-kernel.git 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed