From: Mathias Nyman Date: Tue, 24 Feb 2015 16:27:02 +0000 (+0200) Subject: xhci: Clear the host side toggle manually when endpoint is 'soft reset' X-Git-Tag: omap-for-v4.1/wl12xx-dt~45^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=27082e2654dc148078b0abdfc3c8e5ccbde0ebfa;p=pandora-kernel.git xhci: Clear the host side toggle manually when endpoint is 'soft reset' Main benefit of this is to get xhci connected USB scanners to work. Some devices use a clear endpoint halt request as a 'soft reset' even if the endpoint is not halted. This will clear the toggle and sequence on the device side. xHCI however refuses to reset a non-halted endpoint, so instead we need to issue a configure endpoint command on xHCI to clear its host side toggle and sequence, and get it in sync with the device side. Tested-by: Mike Mammarella Cc: # v3.18 Signed-off-by: Mathias Nyman Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed