]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8c2ee3e1e0672e417ed4e9a5ea06215c5f5b8f2a
tree5cf16f2f1f4842083110f6a3d0a90ae620fe6fff
parente74754b96aa9e69280085ddce3b490853af33208
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: 3d1c980d9a7b ("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