xhci: Avoid USB autosuspend when resuming USB2 ports.
Greg Kroah-Hartman
maintainerPATCH 2/3 xhci: Avoid USB autosuspend when resuming USB2 ports.
Quoted 11 lines · Mathias Nyman
From: Anshuman Gupta <[email protected]>
When USB bus host controller root hub resumes from autosuspend, it immediately tries to enter auto-suspend, but there can be a scenario when root hub is resuming its usb2 ports, in that particular case USB host controller auto suspend fails since it is busy to resuming its usb2 ports.
This makes multiple failed cycles of auto-suspend until all usb2 ports of host controller root hub do not resume.
Quoted 6 lines
This patch uses USB core framework
usb_hcd_start_port_resume,usb_hcd_end_port_resumeAPI's in order to autoresume/autosuspend root hub properly.Signed-off-by Anshuman Gupta <[email protected]>Signed-off-by Mathias Nyman <[email protected]>
Not needed in stable? Does this fix a specific commit?
thanks,
greg k-h