diff options
author | Michael Walle <michael@walle.cc> | 2020-04-29 01:06:56 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-05-01 05:55:49 +0200 |
commit | 86570d8a2f768485a515f646d702a37b34b27260 (patch) | |
tree | 65c53670a22fff92d0faed1fc58882c2c8e38f4e | |
parent | net: phy: at803x: add downshift support (diff) | |
download | linux-86570d8a2f768485a515f646d702a37b34b27260.tar.xz linux-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>
-rw-r--r-- | drivers/net/phy/bcm54140.c | 1 |
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, }, |