OSDN Git Service

net: phy: bcm54140: use genphy_soft_reset()
authorMichael Walle <michael@walle.cc>
Tue, 28 Apr 2020 23:06:56 +0000 (01:06 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 1 May 2020 03:55:49 +0000 (20:55 -0700)
commit86570d8a2f768485a515f646d702a37b34b27260
tree65c53670a22fff92d0faed1fc58882c2c8e38f4e
parentcde0f4f81d1c11ccc214146e1c550bfe48629fac
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>
drivers/net/phy/bcm54140.c