Skip to content
Commit 6411e386 authored by Wang Wensheng's avatar Wang Wensheng Committed by Vinod Koul
Browse files

phy: cadence: Sierra: Fix error return code in cdns_sierra_phy_probe()



Fix to return a negative error code from the error handling
case instead of 0, as done elsewhere in this function.

Fixes: a43f72ae ("phy: cadence: Sierra: Change MAX_LANES of Sierra to 16")
Reported-by: default avatarHulk Robot <hulkci@huawei.com>
Signed-off-by: default avatarWang Wensheng <wangwensheng4@huawei.com>
Link: https://lore.kernel.org/r/20210517015749.127799-1-wangwensheng4@huawei.com


Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
parent 7c2fc792
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment