From 5a6a32ad9bcf108c0d047b147fd80c0e0db75586 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Wed, 23 May 2018 23:46:33 +0200 Subject: [PATCH] ath79: fix adjust_link callback for ar9130 Signed-off-by: John Crispin --- .../files/drivers/net/ethernet/atheros/ag71xx/ag71xx_main.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/target/linux/ath79/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_main.c b/target/linux/ath79/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_main.c index 4a966fce9e..656a22a4b5 100644 --- a/target/linux/ath79/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_main.c +++ b/target/linux/ath79/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_main.c @@ -624,6 +624,8 @@ __ag71xx_link_adjust(struct ag71xx *ag, bool update) } else if (of_device_is_compatible(np, "qca,ar7242-eth")) { ath79_set_pll(ag); } else if (of_device_is_compatible(np, "qca,ar9130-eth")) { + ath79_set_pll(ag); + ath79_mii_ctrl_set_speed(ag); } else if (of_device_is_compatible(np, "qca,ar9340-eth")) { ath79_set_pll(ag); } else if (of_device_is_compatible(np, "qca,qca9550-eth")) { -- 2.25.1