Re: [PATCH] usb: xhci-plat: fix usb disconnect issue after s4

From: Greg Kroah-Hartman
Date: Wed Aug 02 2023 - 05:39:08 EST


On Wed, Aug 02, 2023 at 05:06:42PM +0800, Yinbo Zhu wrote:
> The xhci retaining bogus hardware states cause usb disconnect devices
> connected before hibernation(s4) and refer to the commit '547d55fa83
> ("usb: ohci-platform: fix usb disconnect issue after s4")' which set
> flag "hibernated" as true when resume-from-hibernation and that the
> drivers will reset the hardware to get rid of any existing state and
> make sure resume from hibernation re-enumerates everything for xhci.
>
> Signed-off-by: Yinbo Zhu <zhuyinbo@xxxxxxxxxxx>
> ---
> drivers/usb/host/xhci-plat.c | 21 ++++++++++++++++++---
> 1 file changed, 18 insertions(+), 3 deletions(-)

What commit id does this fix?

Should it go to stable kernels?

thanks,

greg k-h