From: Florian Wolter Date: Wed, 14 Aug 2013 08:33:16 +0000 (+0200) Subject: xhci: Fix race between ep halt and URB cancellation X-Git-Tag: v3.12-rc3~1^2~14^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=526867c3ca0caa2e3e846cb993b0f961c33c2abb;p=pandora-kernel.git xhci: Fix race between ep halt and URB cancellation The halted state of a endpoint cannot be cleared over CLEAR_HALT from a user process, because the stopped_td variable was overwritten in the handle_stopped_endpoint() function. So the xhci_endpoint_reset() function will refuse the reset and communication with device can not run over this endpoint. https://bugzilla.kernel.org/show_bug.cgi?id=60699 Signed-off-by: Florian Wolter Signed-off-by: Sarah Sharp --- Reading git-diff-tree failed