From: Florian Fainelli Date: Tue, 27 Jan 2015 06:05:39 +0000 (-0800) Subject: net: phy: keep track of the PHY suspend state X-Git-Tag: fixes-v4.0-rc1~150^2~122^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8a477a6fb6a33651adda772360b85fd813569743;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed