aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/patches-5.15/900-mdio_bitbang_ignore_ta_value.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ath79/patches-5.15/900-mdio_bitbang_ignore_ta_value.patch')
-rw-r--r--target/linux/ath79/patches-5.15/900-mdio_bitbang_ignore_ta_value.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/target/linux/ath79/patches-5.15/900-mdio_bitbang_ignore_ta_value.patch b/target/linux/ath79/patches-5.15/900-mdio_bitbang_ignore_ta_value.patch
index 4c8d2c2ea9..5363bb37b0 100644
--- a/target/linux/ath79/patches-5.15/900-mdio_bitbang_ignore_ta_value.patch
+++ b/target/linux/ath79/patches-5.15/900-mdio_bitbang_ignore_ta_value.patch
@@ -1,3 +1,15 @@
+From: Jonas Gorski <jogo@openwrt.org>
+Subject: ar71xx: add a workaround for ar8316 not always driving the TA bit to low
+
+AR8316 behind a GPIO bitbanged MDIO bus fails to drive the turnaround bit
+to low despite returning a valid value. Ignore it and just use the
+returned value anyway.
+
+SVN-Revision: 28422
+---
+ drivers/net/mdio/mdio-bitbang.c | 16 ++-----------------
+ 1 file changed, 2 insertions(+), 14 deletions(-)
+
--- a/drivers/net/mdio/mdio-bitbang.c
+++ b/drivers/net/mdio/mdio-bitbang.c
@@ -152,7 +152,7 @@ static int mdiobb_cmd_addr(struct mdiobb