STM32 Ethernet: Should not stm32_phyintenable() return a failure if it could not enable the PHY interrupt?
This commit is contained in:
parent
2c6ea23aee
commit
aac3a3df8e
@ -2936,7 +2936,7 @@ static int stm32_phyintenable(struct stm32_ethmac_s *priv)
|
||||
(phyval & ~MII_INT_CLREN) | MII_INT_SETEN);
|
||||
}
|
||||
|
||||
return 0;
|
||||
return ret;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user