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

From: Yinbo Zhu
Date: Wed Aug 02 2023 - 05:59:14 EST




在 2023/8/2 下午5:39, Greg Kroah-Hartman 写道:
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?


Sorry, perhaps it has been rebased, that tree was mainline tree next
branch, you can find this commit id "f3d478858bec4"

Thanks,
Yinbo