diff options
author | Wesley Cheng <quic_wcheng@quicinc.com> | 2023-04-20 23:27:59 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-04-21 07:07:44 +0200 |
commit | 8f40fc0808137c157dd408d2632e63bfca2aecdb (patch) | |
tree | 066d3feb4fea4a572db893f36a107eb145f3c39a /drivers/usb/musb/jz4740.c | |
parent | usb: dwc3: gadget: Execute gadget stop after halting the controller (diff) | |
download | linux-8f40fc0808137c157dd408d2632e63bfca2aecdb.tar.xz linux-8f40fc0808137c157dd408d2632e63bfca2aecdb.zip |
usb: dwc3: gadget: Refactor EP0 forced stall/restart into a separate API
Several sequences utilize the same routine for forcing the control endpoint
back into the SETUP phase. This is required, because those operations need
to ensure that EP0 is back in the default state.
Acked-by: Thinh Nguyen <Thinh.Nguyen@synopsys.com>
Signed-off-by: Wesley Cheng <quic_wcheng@quicinc.com>
Link: https://lore.kernel.org/r/20230420212759.29429-3-quic_wcheng@quicinc.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/musb/jz4740.c')
0 files changed, 0 insertions, 0 deletions