Message ID | 20220506042357.923026-4-o.rempel@pengutronix.de (mailing list archive) |
---|---|
State | Accepted |
Commit | a04dd88f77a4036ceedd42ed1fbefa68008e1850 |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | add ti dp83td510 support | expand |
diff --git a/drivers/net/phy/phy-c45.c b/drivers/net/phy/phy-c45.c index ffa2d5cd09fc..b1f7c63f66cd 100644 --- a/drivers/net/phy/phy-c45.c +++ b/drivers/net/phy/phy-c45.c @@ -86,9 +86,10 @@ int genphy_c45_pma_baset1_setup_master_slave(struct phy_device *phydev) break; case MASTER_SLAVE_CFG_SLAVE_FORCE: case MASTER_SLAVE_CFG_SLAVE_PREFERRED: + break; case MASTER_SLAVE_CFG_UNKNOWN: case MASTER_SLAVE_CFG_UNSUPPORTED: - break; + return 0; default: phydev_warn(phydev, "Unsupported Master/Slave mode\n"); return -EOPNOTSUPP;