]> www.infradead.org Git - users/dwmw2/linux.git/commit
phy: ti: j721e-wiz: Fix some error return code in wiz_probe()
authorWei Yongjun <weiyongjun1@huawei.com>
Thu, 7 May 2020 05:41:09 +0000 (05:41 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 24 Jun 2020 15:48:45 +0000 (17:48 +0200)
commitcd96215fb3ac339e4a3b0903187af0c55ebf32f5
tree0f248598ee8331b1be027555287a0852e050e5a0
parent0f948abff12d957f9c950556df30a6959e01de62
phy: ti: j721e-wiz: Fix some error return code in wiz_probe()

[ Upstream commit e2ae8bca494481a9f38fcd1d52943ac04e654745 ]

Fix to return negative error code from some error handling
cases instead of 0, as done elsewhere in this function.

Fixes: 091876cc355d ("phy: ti: j721e-wiz: Add support for WIZ module present in TI J721E SoC")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Acked-by: Roger Quadros <rogerq@ti.com>
Link: https://lore.kernel.org/r/20200507054109.110849-1-weiyongjun1@huawei.com
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/phy/ti/phy-j721e-wiz.c