Commit ca9e5fae authored by Niklas Cassel's avatar Niklas Cassel Committed by Khasim Syed Mohammed
Browse files

UPSTREAM: net: stmmac: honor error code from stmmac_dt_phy()



Honor error code from stmmac_dt_phy() instead of always
returning -ENODEV.

No functional change intended.

Signed-off-by: default avatarNiklas Cassel <niklas.cassel@axis.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
(cherry picked from commit ce339abc
https://github.com/torvalds/linux.git

)
Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
parent 9c5302ed
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment