STM32 Ethernet: Should not stm32_phyintenable() return a failure if it could not enable the PHY interrupt?

This commit is contained in:
Gregory Nutt 2017-05-17 10:07:09 -06:00
parent 2c6ea23aee
commit aac3a3df8e

View File

@ -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