]> git.baikalelectronics.ru Git - uboot.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)
commitf2549696a17c3f3a3b2520b137eb6428363ee393
tree7e9d80ff96bd2e354a92998928169e43c7abb69b
parent49af326e890f6f322eb808c960eb29999a3084b4
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