]> git.dujemihanovic.xyz Git - u-boot.git/commit
net: enetc: propagate the return code from phy_startup() to eth_ops::start
authorVladimir Oltean <vladimir.oltean@nxp.com>
Tue, 29 Jun 2021 17:53:17 +0000 (20:53 +0300)
committerRamon Fried <rfried.dev@gmail.com>
Tue, 6 Jul 2021 02:22:41 +0000 (05:22 +0300)
commitc4428507683d2abb840e0752feea8f2fa465ca94
tree7e9d80ff96bd2e354a92998928169e43c7abb69b
parent71346a84860c67827ef4852bc1c0ad31ac3f46ed
net: enetc: propagate the return code from phy_startup() to eth_ops::start

Make sure that errors in the PHY driver .startup() method, such as no
link, are propagated and not ignored.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
drivers/net/fsl_enetc.c