summaryrefslogtreecommitdiff
path: root/drivers/phy/ti/phy-j721e-wiz.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/phy/ti/phy-j721e-wiz.c')
-rw-r--r--drivers/phy/ti/phy-j721e-wiz.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/phy/ti/phy-j721e-wiz.c b/drivers/phy/ti/phy-j721e-wiz.c
index c69a342e2b4..6e2d4bc2b05 100644
--- a/drivers/phy/ti/phy-j721e-wiz.c
+++ b/drivers/phy/ti/phy-j721e-wiz.c
@@ -1201,6 +1201,7 @@ static int j721e_wiz_probe(struct udevice *dev)
if (num_lanes > WIZ_MAX_LANES) {
dev_err(dev, "Cannot support %d lanes\n", num_lanes);
+ rc = -EINVAL;
goto err_addr_to_resource;
}