diff options
| author | Heiner Kallweit <[email protected]> | 2018-07-17 22:51:33 +0200 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2018-07-18 09:46:32 +0900 |
| commit | 242cd9b5866aa2caf9ff770283b85ddb35d52f90 (patch) | |
| tree | e071d4658caf5ab8822e4f5a9e5e304224f024c4 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | f1e911d5d0dfde489be38d9702a75964dfb42b28 (diff) | |
r8169: use phy_resume/phy_suspend
Use phy_resume() / phy_suspend() instead of open coding this functionality.
The chip version specific differences are handled by the respective PHY
drivers.
The call to r8168_phy_power_down() in r8168_pll_power_down() can be
removed because phylib takes care now. The relevant scenarios are:
- rtl8169_close(): phy_disconnect() powers down PHY
- suspend: mdio_bus_phy_suspend() takes care
- runtime-suspend: WoL is active, don't suspend PHY
- rtl_shutdown(): no need to power down PHY
Signed-off-by: Heiner Kallweit <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions