Re: [PATCH] usb: dwc3: gadget: Avoid duplicate requests to enable Run/Stop

From: Greg KH
Date: Tue Jul 26 2022 - 11:43:17 EST


On Mon, Jul 25, 2022 at 01:11:36PM -0700, Wesley Cheng wrote:
> 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: Wesley Cheng <quic_wcheng@xxxxxxxxxxx>

What commit does this fix?

How far back should it go to stable kernels?

thanks,

greg k-h