diff options
author | Alan Stern <stern@rowland.harvard.edu> | 2013-11-01 20:05:12 +0400 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2013-11-25 20:56:45 +0400 |
commit | a535d81c92615b8ffb99b7e1fd1fb01effaed1af (patch) | |
tree | 2aa52efe0447fdd839d14936cd87817acabeb53c /drivers/usb/phy/phy-generic.c | |
parent | 655403c21236af7b121c8c44618e60ff747acc87 (diff) | |
download | linux-a535d81c92615b8ffb99b7e1fd1fb01effaed1af.tar.xz |
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 <stern@rowland.harvard.edu>
Tested-by: Pratyush Anand <pratyush.anand@st.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/phy/phy-generic.c')
0 files changed, 0 insertions, 0 deletions