aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/files/drivers/net
diff options
context:
space:
mode:
authorJohn Crispin <john@phrozen.org>2018-05-23 23:46:33 +0200
committerJohn Crispin <john@phrozen.org>2018-05-24 15:43:39 +0200
commit5a6a32ad9bcf108c0d047b147fd80c0e0db75586 (patch)
tree09eed58da65d79b93093592a8cb4691a5efed343 /target/linux/ath79/files/drivers/net
parent83fb9ec5e0d175f99286dacda2f68c776c203f88 (diff)
downloadupstream-5a6a32ad9bcf108c0d047b147fd80c0e0db75586.tar.gz
upstream-5a6a32ad9bcf108c0d047b147fd80c0e0db75586.tar.bz2
upstream-5a6a32ad9bcf108c0d047b147fd80c0e0db75586.zip
ath79: fix adjust_link callback for ar9130
Signed-off-by: John Crispin <john@phrozen.org>
Diffstat (limited to 'target/linux/ath79/files/drivers/net')
-rw-r--r--target/linux/ath79/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_main.c2
1 files changed, 2 insertions, 0 deletions
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")) {