Re: [RFT PATCH] xhci: Prevent device initiated U1/U2 link pm if exit latency is too long

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 17.9.2019 18.56, Jan Schmidt wrote:


On 18/9/19 12:53 am, Mathias Nyman wrote:
If host/hub initiated link pm is prevented by a driver flag we still must
ensure that periodic endpoints have longer service intervals than link pm
exit latency before allowing device initiated link pm.

Fix this by continue walking and checking endpoint service interval if
xhci_get_timeout_no_hub_lpm() returns anything else than USB3_LPM_DISABLED

While at it fix the split line error message

Signed-off-by: Mathias Nyman <mathias.nyman@xxxxxxxxxxxxxxx>

I tested by forcing the driver->disable_hub_initiated_lpm check and
confirm a) Other USB devices still work as I expect them to b) without
this patch, I'm back to only 1 working Oculus Rift Sensor. With it, I
can capture 3 simultaneously.

Tested-by: Jan Schmidt <jan@xxxxxxxxxxxxxxx>


Great, thanks, I'll queue up that patch as well with your Tested-by tag

-Mathias



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux