From: Michael Walle Date: Tue, 28 Apr 2020 23:06:56 +0000 (+0200) Subject: net: phy: bcm54140: use genphy_soft_reset() X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=86570d8a2f768485a515f646d702a37b34b27260;p=linux.git 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 Reviewed-by: Florian Fainelli Signed-off-by: David S. Miller --- diff --git a/drivers/net/phy/bcm54140.c b/drivers/net/phy/bcm54140.c index c009ac2856a5c..18d1e798a4c33 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, },