ath79: Convert incorrect 5.10 and 5.15 patches
[openwrt/staging/nbd.git] / target / linux / ath79 / patches-5.10 / 900-mdio_bitbang_ignore_ta_value.patch
index 928f241abd74ab4df29be245c7aaccb93b379071..d35b53638a0d561161c56c1fe8e2525128e9f1f6 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