]> git.baikalelectronics.ru Git - kernel.git/commit
net: phy: micrel: set soft_reset callback to genphy_soft_reset for KSZ9031
authorHeiner Kallweit <hkallweit1@gmail.com>
Thu, 10 Jan 2019 19:22:26 +0000 (20:22 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 Jan 2019 05:41:11 +0000 (21:41 -0800)
commitbd472f02c3bca66e770b0c609544c3e61b171c4c
tree29c902163cdaa2545513c53a1f2075da1fc99b90
parent29376735ed3706f5d90d311da5d6b0e742e89825
net: phy: micrel: set soft_reset callback to genphy_soft_reset for KSZ9031

So far genphy_soft_reset was used automatically if the PHY driver
didn't implement the soft_reset callback. This changed with the
mentioned commit and broke KSZ9031. To fix this configure the
KSZ9031 PHY driver to use genphy_soft_reset.

Fixes: 86a764a5adf7 ("net: phy: Stop with excessive soft reset")
Reported-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Tested-by: Tony Lindgren <tony@atomide.com>
Tested-by: Sekhar Nori <nsekhar@ti.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/micrel.c