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.2.52~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=47fa3c9b8352d4f403118b01f8a97fff1353c30b;p=pandora-kernel.git xhci: Fix race between ep halt and URB cancellation commit 526867c3ca0caa2e3e846cb993b0f961c33c2abb upstream. 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 Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed