aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/phy/bcm54140.c
diff options
context:
space:
mode:
authorMichael Walle <michael@walle.cc>2020-04-29 01:06:56 +0200
committerDavid S. Miller <davem@davemloft.net>2020-04-30 20:55:49 -0700
commit86570d8a2f768485a515f646d702a37b34b27260 (patch)
tree65c53670a22fff92d0faed1fc58882c2c8e38f4e /drivers/net/phy/bcm54140.c
parentnet: phy: at803x: add downshift support (diff)
downloadlinux-dev-86570d8a2f768485a515f646d702a37b34b27260.tar.xz
linux-dev-86570d8a2f768485a515f646d702a37b34b27260.zip
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: Michael Walle <michael@walle.cc> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/phy/bcm54140.c')
-rw-r--r--drivers/net/phy/bcm54140.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/phy/bcm54140.c b/drivers/net/phy/bcm54140.c
index c009ac2856a5..18d1e798a4c3 100644
--- a/drivers/net/phy/bcm54140.c
+++ b/drivers/net/phy/bcm54140.c
@@ -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,
},