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

Fabio Estevam festevam at gmail.com
Wed Aug 7 20:05:41 CEST 2024


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>


More information about the U-Boot mailing list