ath79: Convert incorrect 5.10 and 5.15 patches
[openwrt/staging/nbd.git] / target / linux / ath79 / patches-5.15 / 900-mdio_bitbang_ignore_ta_value.patch
index 4c8d2c2ea9a34cf5f90f25ec859e3ff891d033f7..5363bb37b03a1b5a3798cd7cd25c3db90afbf5f5 100644 (file)
@@ -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