diff options
| author | Heiner Kallweit <hkallweit1@gmail.com> | 2018-07-17 23:51:33 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2018-07-18 03:46:32 +0300 |
| commit | 242cd9b5866aa2caf9ff770283b85ddb35d52f90 (patch) | |
| tree | e071d4658caf5ab8822e4f5a9e5e304224f024c4 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | f1e911d5d0dfde489be38d9702a75964dfb42b28 (diff) | |
| download | linux-242cd9b5866aa2caf9ff770283b85ddb35d52f90.tar.xz | |
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 <hkallweit1@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
