Re: [PATCH] usb: xhci: Increase timeout for HC halt

From: Maximilian Luz
Date: Tue May 11 2021 - 04:40:24 EST


On 5/11/21 8:26 AM, Greg Kroah-Hartman wrote:
On Tue, May 11, 2021 at 02:29:33AM +0200, Maximilian Luz wrote:
On some devices (specifically the SC8180x based Surface Pro X with
QCOM04A6) HC halt / xhci_halt() times out during boot. Manually binding
the xhci-hcd driver at some point later does not exhibit this behavior.
To work around this, double XHCI_MAX_HALT_USEC, which also resolves this
issue.

Signed-off-by: Maximilian Luz <luzmaximilian@xxxxxxxxx>
---
drivers/usb/host/xhci-ext-caps.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Should this go to stable kernels as well?

Ah sorry, didn't think about that since the device in question currently
requires a couple of other fixes to be usable. But I guess it would be good
to have this in stable.

Regards,
Max