Re: [PATCH] usb: dwc3: meson-g12a: do post init to fix broken usb after resumption

From: Greg Kroah-Hartman
Date: Tue Aug 08 2023 - 16:31:27 EST


On Tue, Aug 08, 2023 at 03:25:10AM +0000, Luke Lu wrote:
> Device connected to usb otg port of GXL-based boards can not be
> recognised after resumption, doesn't recover even if disconnect and
> reconnect the device. dmesg shows it disconnects during resumption.
>
> [ 41.492911] usb 1-2: USB disconnect, device number 3
> [ 41.499346] usb 1-2: unregistering device
> [ 41.511939] usb 1-2: unregistering interface 1-2:1.0
>
> Calling usb_post_init() will fix this issue, and it's tested and
> verified on libretech's aml-s905x-cc board.
>
> Signed-off-by: Luke Lu <luke.lu@libre.computer>

What commit id does this fix? Should it also go to stable kernels?

thanks,

greg k-h