Skip to content

Commit

Permalink
r8152: adjust the settings of ups flags
Browse files Browse the repository at this point in the history
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@realtek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Hayes Wang authored and David S. Miller committed Sep 5, 2019
1 parent 5e5d8bc commit 0e5b36b
Showing 1 changed file with 120 additions and 88 deletions.
Loading

0 comments on commit 0e5b36b

Please sign in to comment.