]> git.baikalelectronics.ru Git - kernel.git/commit
net: phy: icplus: use the .soft_reset() of the phy-core
authorMichael Walle <michael@walle.cc>
Thu, 11 Feb 2021 07:47:45 +0000 (08:47 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 11 Feb 2021 21:53:25 +0000 (13:53 -0800)
commit980d89d08b65a59047e816f68550cb4f37c8aa03
treea08f98246465796ccfbbe0b6b3d26aee3d05efd4
parent8ad949ee530d121f68d92df73ef9de8c1babedb2
net: phy: icplus: use the .soft_reset() of the phy-core

The PHY core already resets the PHY before .config_init() if a
.soft_reset() op is registered. Drop the open-coded ip1xx_reset().

Signed-off-by: Michael Walle <michael@walle.cc>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/icplus.c