[PATCH v8 06/23] net: fec_mxc_init(): do not ignore return status of fec_open()

Jerome Forissier jerome.forissier at linaro.org
Thu Aug 8 15:01:11 CEST 2024


On 8/7/24 20:05, Fabio Estevam wrote:
> On Wed, Aug 7, 2024 at 2:51 PM Jerome Forissier
> <jerome.forissier at linaro.org> wrote:
>>
>> The fec_mxc_init() function currently always returns 0. This does not
>> allow the callers to detect when for instance the PHY initialization
>> failed due to the port being unconnected. Fix that by returning the
>> status of fec_open().
>>
>> Signed-off-by: Jerome Forissier <jerome.forissier at linaro.org>
> 
> Reviewed-by: Fabio Estevam <festevam at gmail.com>

Applied, thanks.


More information about the U-Boot mailing list