diff options
| author | Zixun LI <[email protected]> | 2026-05-15 12:05:41 +0200 |
|---|---|---|
| committer | Mattijs Korpershoek <[email protected]> | 2026-05-20 12:09:29 +0200 |
| commit | 7f34bb50a59804f6ebe02c1f62b7b29093eb103c (patch) | |
| tree | d74f63a28b11a98f584d0de30ed05d3fcfaf94fa /cpu | |
| parent | c8f68234422b8afb516fea2336b678750f10ba5b (diff) | |
usb: gadget: atmel: do not disable endpoints in reset_all_endpoints()
Endpoints should not be disabled on bus reset inside UDC driver,
otherwise a race condition will happen between gadget driver. Gadget
driver will free the requests and disable endpoints in disconnect ops.
Also remove outdated comment about it in usba_ep_disable().
Signed-off-by: Zixun LI <[email protected]>
Reviewed-by: Mattijs Korpershoek <[email protected]>
Fixes: 59310d1ecb9f ("usb: gadget: introduce 'enabled' flag in struct usb_ep")
Link: https://patch.msgid.link/[email protected]
[mkorpershoek: removed empty newline between Fixes: and sob]
Signed-off-by: Mattijs Korpershoek <[email protected]>
Diffstat (limited to 'cpu')
0 files changed, 0 insertions, 0 deletions
