Re: Can we just remove the sw_lpm_support from current xhci driver?

From: Mathias Nyman
Date: Mon Oct 15 2018 - 08:07:55 EST


On 15.10.2018 12:35, Zengtao (B) wrote:
Hi:

I am recently reading the LPM related code in xhci driver, and I find
that the xhci->sw_lpm_support is not really used, but I am not sure
whether we should remove it or not?

Any ideas, Thanks.

I think it was used to prevent LPM in pre-0.96 xHC controllers.
Now driver only supports HW LPM for 1.0 and later controllers, so xhci->sw_lpm_support
doesn't really do anything.

You can send a patch removing it

Thanks
-Mathias