mirror of
https://github.com/Evolution-X-Devices/kernel_google_b1c1
synced 2026-02-10 16:36:41 +00:00
In order to avoid double calls to phydev->drv->suspend and resume, keep track of whether the PHY has already been suspended as a consequence of a successful call to phy_suspend(). We will use this in our MDIO bus suspend/resume hooks to avoid a double suspend call. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
25 KiB
25 KiB