Skip to content

Commit

Permalink
drivers: net: davinci_mdio: moving mdio resume earlier than cpsw ethe…
Browse files Browse the repository at this point in the history
…rnet 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>
  • Loading branch information
Mugunthan V N authored and David S. Miller committed Jun 13, 2013
1 parent baafc77 commit 5033ec3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/net/ethernet/ti/davinci_mdio.c
Original file line number Diff line number Diff line change
Expand Up @@ -476,8 +476,8 @@ static int davinci_mdio_resume(struct device *dev)
}

static const struct dev_pm_ops davinci_mdio_pm_ops = {
.suspend = davinci_mdio_suspend,
.resume = davinci_mdio_resume,
.suspend_late = davinci_mdio_suspend,
.resume_early = davinci_mdio_resume,
};

static const struct of_device_id davinci_mdio_of_mtable[] = {
Expand Down

0 comments on commit 5033ec3

Please sign in to comment.