]> git.baikalelectronics.ru Git - uboot.git/commit
net: dsa: felix: propagate the error code from phy_startup()
authorVladimir Oltean <vladimir.oltean@nxp.com>
Tue, 24 Aug 2021 12:00:43 +0000 (15:00 +0300)
committerRamon Fried <rfried.dev@gmail.com>
Tue, 28 Sep 2021 15:50:56 +0000 (18:50 +0300)
commit17699989f1afb60cd799b129e8c026bb43cb1b2c
tree811a57c023225dad7e5257617e8e2c05718540dc
parent2531fb34e37d7b2261269168657943194fce12e3
net: dsa: felix: propagate the error code from phy_startup()

Make sure that the link status returned by phy_startup() is propagated
to the .start() method of struct eth_ops.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
Tested-by: Michael Walle <michael@walle.cc>
drivers/net/mscc_eswitch/felix_switch.c