mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
ar71xx: move mdio_bus reset code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18749 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -917,13 +917,6 @@ static int __init ag71xx_probe(struct platform_device *pdev)
|
||||
|
||||
ag71xx_dump_regs(ag);
|
||||
|
||||
/* Reset the mdio bus explicitly */
|
||||
if (ag->mii_bus) {
|
||||
mutex_lock(&ag->mii_bus->mdio_lock);
|
||||
ag->mii_bus->reset(ag->mii_bus);
|
||||
mutex_unlock(&ag->mii_bus->mdio_lock);
|
||||
}
|
||||
|
||||
platform_set_drvdata(pdev, dev);
|
||||
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user