linux_dsm_epyc7002/drivers/phy/cadence
Dan Carpenter 5a602158b8 phy: cadence-torrent: Fix error code in cdns_torrent_phy_probe()
[ Upstream commit 266df28f9ac16b0dff553d78bc3fb1c084b96b9d ]

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

Fixes: d09945eaca ("phy: cadence-torrent: Check total lane count for all subnodes is within limit")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Link: https://lore.kernel.org/r/X9s7Wxq+b6ls0q7o@mwanda
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-03-04 11:38:11 +01:00
..
cdns-dphy.c
Kconfig
Makefile
phy-cadence-salvo.c
phy-cadence-sierra.c
phy-cadence-torrent.c