Commit 19c3abde authored by Wesley Cheng's avatar Wesley Cheng Committed by Mayank Rana
Browse files

FROMLIST: usb: dwc3: gadget: Avoid duplicate requests to enable Run/Stop



Relocate the pullups_connected check until after it is ensured that there
are no runtime PM transitions.  If another context triggered the DWC3
core's runtime resume, it may have already enabled the Run/Stop.  Do not
re-run the entire pullup sequence again, as it may issue a core soft
reset while Run/Stop is already set.

Signed-off-by: default avatarWesley Cheng <quic_wcheng@quicinc.com>

Bug: 240122498
Link: https://lore.kernel.org/all/20220725201136.7989-1-quic_wcheng@quicinc.com/


Change-Id: I5f2a6c1e67ae5836013a65c650bf08e2effb7bcf
Signed-off-by: default avatarMayank Rana <quic_mrana@quicinc.com>
parent 983d305a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment