[PATHv2 3/9] net/smc911x: fix return from smc911x_send
Simon Glass
sjg at chromium.org
Tue Dec 26 10:50:12 CET 2023
On Mon, Dec 25, 2023 at 3:41 PM Maxim Uvarov <maxim.uvarov at linaro.org> wrote:
>
> return value of smc911x_send is ignored, but on sucesseful
> send we need return 0 and or error -ETIMEOUT, not opposite.
>
> Signed-off-by: Maxim Uvarov <maxim.uvarov at linaro.org>
> Reviewed-by: Tom Rini <trini at konsulko.com>
> ---
> drivers/net/smc911x.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list