]> git.dujemihanovic.xyz Git - u-boot.git/commit
net/smc911x: fix return from smc911x_send
authorMaxim Uvarov <maxim.uvarov@linaro.org>
Tue, 26 Dec 2023 15:46:13 +0000 (21:46 +0600)
committerTom Rini <trini@konsulko.com>
Thu, 11 Jan 2024 16:24:58 +0000 (11:24 -0500)
commitf5ead4c5fb14eedc788fc594af3b34a1fc7fb37e
tree32d897e18512f35934de2b6416c5d8a0117a5ff6
parente6163467a34b8a77da55202fd3cf079947f93841
net/smc911x: fix return from smc911x_send

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@linaro.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/net/smc911x.c