diff options
author | Vahram Aharonyan <vahrama@synopsys.com> | 2016-05-23 22:41:57 -0700 |
---|---|---|
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | 2016-05-31 11:12:56 +0300 |
commit | 51da43b555ba19e0230ff5a5acc58eb0fffb6026 (patch) | |
tree | 7a9f167f9561b925998ee98f348f5b7eb219f84b /Documentation | |
parent | d246dcb2331c5783743720e6510892eb1d2801d9 (diff) |
usb: dwc2: gadget: Do not halt endpoint if active
The gadget API function usb_ep_set_halt() expects the gadget to return
-EAGAIN if the ep is active. Add support for this behavior.
Otherwise this may break mass storage protocol if a STALL is attempted
on the endpoint.
Signed-off-by: Vahram Aharonyan <vahrama@synopsys.com>
Signed-off-by: John Youn <johnyoun@synopsys.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions