Pārlūkot izejas kodu

ath79: fix adjust_link callback for ar9130

Signed-off-by: John Crispin <[email protected]>
John Crispin 7 gadi atpakaļ
vecāks
revīzija
5a6a32ad9b

+ 2 - 0
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")) {