[openwrt/openwrt] ramips: refresh at803x patch

LEDE Commits lede-commits at lists.infradead.org
Sun Jun 13 16:38:12 PDT 2021


blocktrron pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/5c68c624f671eb1773a82485d398ac933c4d416a

commit 5c68c624f671eb1773a82485d398ac933c4d416a
Author: David Bauer <mail at david-bauer.net>
AuthorDate: Mon Jun 14 01:33:03 2021 +0200

    ramips: refresh at803x patch
    
    This patch failed to apply, breaking builds for the ramips target.
    
    Fixes commit c44cefceb3ad ("generic: kernel 5.4: fix probe error for AR803x PHYs")
    
    Signed-off-by: David Bauer <mail at david-bauer.net>
---
 target/linux/ramips/patches-5.4/991-at803x.patch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/target/linux/ramips/patches-5.4/991-at803x.patch b/target/linux/ramips/patches-5.4/991-at803x.patch
index 6e178b80ce..4de3118547 100644
--- a/target/linux/ramips/patches-5.4/991-at803x.patch
+++ b/target/linux/ramips/patches-5.4/991-at803x.patch
@@ -105,7 +105,7 @@ Signed-off-by: René van Dorst <opensource at vdorst.com>
  {
  	struct device *dev = &phydev->mdio.dev;
  	struct at803x_priv *priv;
- 	int ret;
+ 	int ret = 0;
  
 +	if (at803x_mode(phydev) == AT803X_MODE_FIBER) {
 +		ret = phy_sfp_probe(phydev, &at803x_sfp_ops);



More information about the lede-commits mailing list