summaryrefslogtreecommitdiff
path: root/drivers/usb/gadget
diff options
context:
space:
mode:
authorAlan Stern <stern@rowland.harvard.edu>2013-11-01 20:05:12 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-12-20 19:48:54 +0400
commit14d9ceaf84edebb520b2b7c1f8800fef5364ccbf (patch)
tree8210b2f9594c8a84926cbe070748d9f2d63b1e62 /drivers/usb/gadget
parentfb4e47f9e933441aa17bb7aa8f505444927ea10b (diff)
downloadlinux-14d9ceaf84edebb520b2b7c1f8800fef5364ccbf.tar.xz
usb: dwc3: fix implementation of endpoint wedge
commit a535d81c92615b8ffb99b7e1fd1fb01effaed1af upstream. 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 <stern@rowland.harvard.edu> Tested-by: Pratyush Anand <pratyush.anand@st.com> Signed-off-by: Felipe Balbi <balbi@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/gadget')
0 files changed, 0 insertions, 0 deletions