Repository navigation
Commit 242cd9b
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>1 parent f1e911d commit 242cd9b
1 file changed
Lines changed: 6 additions & 44 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4450 | 4450 | | |
4451 | 4451 | | |
4452 | 4452 | | |
4453 | | - | |
4454 | | - | |
4455 | | - | |
4456 | | - | |
4457 | | - | |
4458 | | - | |
4459 | | - | |
4460 | | - | |
4461 | | - | |
4462 | | - | |
4463 | | - | |
4464 | | - | |
4465 | | - | |
4466 | | - | |
4467 | | - | |
4468 | | - | |
4469 | | - | |
4470 | | - | |
4471 | | - | |
4472 | | - | |
4473 | | - | |
4474 | | - | |
4475 | | - | |
4476 | | - | |
4477 | | - | |
4478 | | - | |
4479 | | - | |
4480 | | - | |
4481 | | - | |
4482 | | - | |
4483 | | - | |
4484 | | - | |
4485 | | - | |
4486 | | - | |
4487 | | - | |
4488 | | - | |
4489 | | - | |
4490 | | - | |
4491 | | - | |
4492 | | - | |
4493 | | - | |
4494 | 4453 | | |
4495 | 4454 | | |
4496 | 4455 | | |
| |||
4503 | 4462 | | |
4504 | 4463 | | |
4505 | 4464 | | |
4506 | | - | |
4507 | | - | |
4508 | 4465 | | |
4509 | 4466 | | |
4510 | 4467 | | |
| |||
4556 | 4513 | | |
4557 | 4514 | | |
4558 | 4515 | | |
4559 | | - | |
| 4516 | + | |
| 4517 | + | |
| 4518 | + | |
4560 | 4519 | | |
4561 | 4520 | | |
4562 | 4521 | | |
| |||
7472 | 7431 | | |
7473 | 7432 | | |
7474 | 7433 | | |
| 7434 | + | |
| 7435 | + | |
| 7436 | + | |
7475 | 7437 | | |
7476 | 7438 | | |
7477 | 7439 | | |
| |||
0 commit comments