[PATCH net-next 1/4] net: phy: bcm54140: use genphy_soft_reset()

From: Michael Walle
Date: Tue Apr 28 2020 - 17:09:07 EST


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@xxxxxxxx>
---
drivers/net/phy/bcm54140.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/net/phy/bcm54140.c b/drivers/net/phy/bcm54140.c
index 7341f0126cc4..eb5dbacc1253 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,
},
--
2.20.1