diff options
author | Mugunthan V N <mugunthanvnm@ti.com> | 2013-06-11 06:02:04 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-06-13 05:56:54 -0400 |
commit | 5033ec3e3f923a371c28f0c3df45905a9dd9c457 (patch) | |
tree | 9a6d6ecd381b42eb330a93cf3f3ebd3e44be517e /drivers/net | |
parent | baafc77b32f647daa7c45825f7af8cdd55d00817 (diff) |
drivers: net: davinci_mdio: moving mdio resume earlier than cpsw ethernet driver
MDIO driver should resume before CPSW ethernet driver so that CPSW connect
to the phy and start tx/rx ethernet packets, changing the suspend/resume
apis with suspend_late/resume_early.
Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/ethernet/ti/davinci_mdio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ethernet/ti/davinci_mdio.c b/drivers/net/ethernet/ti/davinci_mdio.c index b2275d1b19b3..74e56b3fba11 100644 --- a/drivers/net/ethernet/ti/davinci_mdio.c +++ b/drivers/net/ethernet/ti/davinci_mdio.c | |||
@@ -476,8 +476,8 @@ static int davinci_mdio_resume(struct device *dev) | |||
476 | } | 476 | } |
477 | 477 | ||
478 | static const struct dev_pm_ops davinci_mdio_pm_ops = { | 478 | static const struct dev_pm_ops davinci_mdio_pm_ops = { |
479 | .suspend = davinci_mdio_suspend, | 479 | .suspend_late = davinci_mdio_suspend, |
480 | .resume = davinci_mdio_resume, | 480 | .resume_early = davinci_mdio_resume, |
481 | }; | 481 | }; |
482 | 482 | ||
483 | static const struct of_device_id davinci_mdio_of_mtable[] = { | 483 | static const struct of_device_id davinci_mdio_of_mtable[] = { |