net: phy: LAN87xx: remove genphy_softreset in config_aneg
authorArun Ramadoss <arun.ramadoss@microchip.com>
Thu, 7 Apr 2022 04:46:10 +0000 (10:16 +0530)
committerDavid S. Miller <davem@davemloft.net>
Mon, 11 Apr 2022 09:32:58 +0000 (10:32 +0100)
commitb2cd2cde7d690b760bcdd675380ff37c3e1aa38d
tree5cf16f2f1f4842083110f6a3d0a90ae620fe6fff
parent8d3a6c37d50d5a0504c126c932cc749e6dd9c78f
net: phy: LAN87xx: remove genphy_softreset in config_aneg

When the T1 phy master/slave state is changed, at the end of config_aneg
function genphy_softreset is called. After the reset all the registers
configured during the config_init are restored to default value.
To avoid this, removed the genphy_softreset call.

v1->v2
------
Added the author in cc

Fixes: 8a1b415d70b7 ("net: phy: added ethtool master-slave configuration support")
Signed-off-by: Arun Ramadoss <arun.ramadoss@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/microchip_t1.c