mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
baafc77b32
commit
5033ec3e3f
1 changed files with 2 additions and 2 deletions
|
|
@ -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[] = {
|
||||
|
|
|
|||
Loading…
Reference in a new issue