Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5033ec3e authored by Mugunthan V N's avatar Mugunthan V N Committed by David S. Miller
Browse files

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: default avatarMugunthan V N <mugunthanvnm@ti.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent baafc77b
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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[] = {