summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimotej Lazar <timotej.lazar@araneo.si>2019-01-13 01:22:55 +0100
committerDavid S. Miller <davem@davemloft.net>2019-01-15 22:27:34 -0800
commitf2f98c1d7fa81e25a5cf910edc9db4d3c6f36c1b (patch)
tree91cdd2ad8c373a234954ab50ad39e56220d9dead
parenta6c7c7aac2de6be777b9805fe21848b9a323b8ff (diff)
downloadlinux-f2f98c1d7fa81e25a5cf910edc9db4d3c6f36c1b.tar.bz2
net: phy: meson-gxl: Use the genphy_soft_reset callback
Since the referenced commit, Ethernet fails to come up at boot on the board meson-gxl-s905x-libretech-cc. Fix this by re-enabling the genphy_soft_reset callback for the Amlogic Meson GXL PHY driver. Fixes: 6e2d85ec0559 ("net: phy: Stop with excessive soft reset") Signed-off-by: Timotej Lazar <timotej.lazar@araneo.si> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--drivers/net/phy/meson-gxl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/phy/meson-gxl.c b/drivers/net/phy/meson-gxl.c
index b03bcf2c388a..3ddaf9595697 100644
--- a/drivers/net/phy/meson-gxl.c
+++ b/drivers/net/phy/meson-gxl.c
@@ -233,6 +233,7 @@ static struct phy_driver meson_gxl_phy[] = {
.name = "Meson GXL Internal PHY",
.features = PHY_BASIC_FEATURES,
.flags = PHY_IS_INTERNAL,
+ .soft_reset = genphy_soft_reset,
.config_init = meson_gxl_config_init,
.aneg_done = genphy_aneg_done,
.read_status = meson_gxl_read_status,