Merge "net: stmmac: Fixed early Ethernet"
This commit is contained in:
commit
e06d4bc3a4
@ -1050,7 +1050,7 @@ static void stmmac_validate(struct phylink_config *config,
|
||||
/* Early ethernet settings to bring up link in 100M,
|
||||
* Auto neg Off with full duplex link.
|
||||
*/
|
||||
if (priv->early_eth && !priv->early_eth_config_set) {
|
||||
if (priv->phydev && priv->plat->early_eth && !priv->early_eth_config_set) {
|
||||
priv->phydev->autoneg = AUTONEG_DISABLE;
|
||||
priv->phydev->speed = SPEED_100;
|
||||
priv->phydev->duplex = DUPLEX_FULL;
|
||||
|
Loading…
Reference in New Issue
Block a user