ramips: refresh at803x patch
This patch failed to apply, breaking builds for the ramips target.
Fixes commit c44cefceb3
("generic: kernel 5.4: fix probe error for AR803x PHYs")
Signed-off-by: David Bauer <mail@david-bauer.net>
This commit is contained in:
parent
da86064611
commit
5c68c624f6
@ -105,7 +105,7 @@ Signed-off-by: René van Dorst <opensource@vdorst.com>
|
|||||||
{
|
{
|
||||||
struct device *dev = &phydev->mdio.dev;
|
struct device *dev = &phydev->mdio.dev;
|
||||||
struct at803x_priv *priv;
|
struct at803x_priv *priv;
|
||||||
int ret;
|
int ret = 0;
|
||||||
|
|
||||||
+ if (at803x_mode(phydev) == AT803X_MODE_FIBER) {
|
+ if (at803x_mode(phydev) == AT803X_MODE_FIBER) {
|
||||||
+ ret = phy_sfp_probe(phydev, &at803x_sfp_ops);
|
+ ret = phy_sfp_probe(phydev, &at803x_sfp_ops);
|
||||||
|
Loading…
Reference in New Issue
Block a user