Skip to content
Commit 266df28f authored by Dan Carpenter's avatar Dan Carpenter Committed by Vinod Koul
Browse files

phy: cadence-torrent: Fix error code in cdns_torrent_phy_probe()



This error path should return -EINVAL, but currently it returns
success.

Fixes: d09945ea ("phy: cadence-torrent: Check total lane count for all subnodes is within limit")
Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Link: https://lore.kernel.org/r/X9s7Wxq+b6ls0q7o@mwanda


Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
parent 915f1d23
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment