Re: [PATCH net-next v1 1/1] net: dsa: microchip: lan937x: Add error handling in lan937x_setup

From: Arun.Ramadoss
Date: Wed Jul 03 2024 - 23:08:21 EST


On Wed, 2024-07-03 at 10:38 +0200, Oleksij Rempel wrote:
> EXTERNAL EMAIL: Do not click links or open attachments unless you
> know the content is safe
>
> Introduce error handling for lan937x_cfg function calls in
> lan937x_setup.
> This change ensures that if any lan937x_cfg or ksz_rmw32 calls fails,
> the
> function will return the appropriate error code.
>
> Signed-off-by: Oleksij Rempel <o.rempel@xxxxxxxxxxxxxx>

Acked-by: Arun Ramadoss <arun.ramadoss@xxxxxxxxxxxxx>