Re: [PATCH net-next] r8152: adjust the settings of ups flags

From: David Miller
Date: Thu Sep 05 2019 - 06:16:11 EST


From: Hayes Wang <hayeswang@xxxxxxxxxxx>
Date: Wed, 4 Sep 2019 17:34:38 +0800

> The UPS feature only works for runtime suspend, so UPS flags only
> need to be set before enabling runtime suspend. Therefore, I create
> a struct to record relative information, and use it before runtime
> suspend.
>
> All chips could record such information, even though not all of
> them support the feature of UPS. Then, some functions could be
> combined.
>
> Signed-off-by: Hayes Wang <hayeswang@xxxxxxxxxxx>

This does not apply cleanly to net-next, please respin.