From: Alan Stern Date: Fri, 1 Nov 2013 16:05:12 +0000 (-0400) Subject: usb: dwc3: fix implementation of endpoint wedge X-Git-Tag: v3.13-rc4~47^2~15^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a535d81c92615b8ffb99b7e1fd1fb01effaed1af;p=pandora-kernel.git usb: dwc3: fix implementation of endpoint wedge The dwc3 UDC driver doesn't implement endpoint wedging correctly. When an endpoint is wedged, the gadget driver should be allowed to clear the wedge by calling usb_ep_clear_halt(). Only the host is prevented from resetting the endpoint. This patch fixes the implementation. Signed-off-by: Alan Stern Tested-by: Pratyush Anand Cc: Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed