]> git.baikalelectronics.ru Git - kernel.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)
committerKishon Vijay Abraham I <kishon@ti.com>
Wed, 13 May 2020 02:57:35 +0000 (08:27 +0530)
commitceeb69c6013d3fbb6212a8c849c8be26c5b19792
tree12a7f84a698b5dd5c578c60850843accc96f042e
parent601d2ae38c431921b22f21fed3ef6efb8d0df23a
phy: ti: j721e-wiz: Fix some error return code in wiz_probe()

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

Fixes: 895ecb54113c ("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>
drivers/phy/ti/phy-j721e-wiz.c