Commit 86570d8a authored by Michael Walle's avatar Michael Walle Committed by David S. Miller
Browse files

net: phy: bcm54140: use genphy_soft_reset()



Set the .soft_reset() op to be sure there will be a reset even if there
is no hardware reset line registered.

Signed-off-by: default avatarMichael Walle <michael@walle.cc>
Reviewed-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent cde0f4f8
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -862,6 +862,7 @@ static struct phy_driver bcm54140_drivers[] = {
		.probe		= bcm54140_probe,
		.suspend	= genphy_suspend,
		.resume		= genphy_resume,
		.soft_reset	= genphy_soft_reset,
		.get_tunable	= bcm54140_get_tunable,
		.set_tunable	= bcm54140_set_tunable,
	},