Commit 0d3c4918 authored by Wesley Cheng's avatar Wesley Cheng Committed by Matthias Männich
Browse files

UPSTREAM: 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: default avatarThinh Nguyen <Thinh.Nguyen@synopsys.com>
Signed-off-by: default avatarWesley Cheng <quic_wcheng@quicinc.com>
Link: https://lore.kernel.org/r/20230420212759.29429-3-quic_wcheng@quicinc.com


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>

Bug: 318577849
Change-Id: I10fb6823ad50abeb4efa70ffa2037e85725d20f7
(cherry picked from commit 8f40fc08)
Signed-off-by: default avatarWesley Cheng <quic_wcheng@quicinc.com>
parent 154a4394
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment