projects
/
openwrt
/
staging
/
xback.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
da86064
)
ramips: refresh at803x patch
author
David Bauer
<
[email protected]
>
Sun, 13 Jun 2021 23:33:03 +0000
(
01:33
+0200)
committer
David Bauer
<
[email protected]
>
Sun, 13 Jun 2021 23:36:30 +0000
(
01:36
+0200)
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 <
[email protected]
>
target/linux/ramips/patches-5.4/991-at803x.patch
patch
|
blob
|
history
diff --git
a/target/linux/ramips/patches-5.4/991-at803x.patch
b/target/linux/ramips/patches-5.4/991-at803x.patch
index 6e178b80cee0e4ee095b5a9b0717018dd548f130..4de3118547942d71a3a547bd8ec24278c48b0988 100644
(file)
--- 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 <
[email protected]
>
{
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);