summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorFlorian Fainelli <f.fainelli@gmail.com>2015-01-27 07:05:39 +0100
committerDavid S. Miller <davem@davemloft.net>2015-01-27 09:16:51 +0100
commit8a477a6fb6a33651adda772360b85fd813569743 (patch)
treeb9b22fb33dbeecda77bb31d3cbb0b0fe0b9547cd /kernel
parentnet: phy: document has_fixups field (diff)
downloadlinux-8a477a6fb6a33651adda772360b85fd813569743.tar.xz
linux-8a477a6fb6a33651adda772360b85fd813569743.zip
net: phy: keep track of the PHY suspend state
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>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions