ath79: fix adjust_link callback for ar9130
authorJohn Crispin <john@phrozen.org>
Wed, 23 May 2018 21:46:33 +0000 (23:46 +0200)
committerJohn Crispin <john@phrozen.org>
Thu, 24 May 2018 13:43:39 +0000 (15:43 +0200)
Signed-off-by: John Crispin <john@phrozen.org>
target/linux/ath79/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_main.c

index 4a966fce9e125a38269daad5ed308f29e05b2aec..656a22a4b5e47c959e45d0aa039257bab30e426e 100644 (file)
@@ -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")) {