commit | 021a98a2d6512bf59581675a997d659b18c09306 | [log] [tgz] |
---|---|---|
author | Pali Rohár <pali@kernel.org> | Fri Sep 24 16:11:57 2021 +0200 |
committer | Stefan Roese <sr@denx.de> | Fri Oct 08 08:33:52 2021 +0200 |
tree | ca6dda07a319a15771a5ab024ea3e7b1c4f10854 | |
parent | 4ca474d3067ba7278c6a5f94ff4340ca5a07ca0a [diff] |
phy: marvell: a3700: Return correct error code when power up fails Subroutines in comphy_usb2_power_up() and comphy_sgmii_power_up() functions may fail. In this case, do not continue execution of current function and instead jump to the end. Return value in 'ret' variable is already set. Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Stefan Roese <sr@denx.de>