phy_speed_down — set speed to lowest speed supported by both link partners
int phy_speed_down ( | struct phy_device * phydev, |
bool sync) ; |
Setting sync to false may cause the system being unable to suspend in case the PHY generates an interrupt when finishing the autonegotiation. This interrupt may wake up the system immediately after suspend. Therefore use sync = false only if you're sure it's safe with the respective network chip.