OpenCloudOS-Kernel/drivers/phy/ti
Yang Li b8203ec7f5 phy: ti: Fix an error code in wiz_probe()
When the code execute this if statement, the value of ret is 0.
However, we can see from the dev_err() log that the value of
ret should be -EINVAL.

Clean up smatch warning:

drivers/phy/ti/phy-j721e-wiz.c:1216 wiz_probe() warn: missing error code 'ret'

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Fixes: c9f9eba066 ("phy: ti: j721e-wiz: Manage typec-gpio-dir")
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
Link: https://lore.kernel.org/r/1621939832-65535-1-git-send-email-yang.lee@linux.alibaba.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
2021-05-31 14:11:44 +05:30
..
Kconfig phy: ti: gmii-sel: simplify config dependencies between net drivers and gmii phy 2020-03-26 20:01:13 -07:00
Makefile phy: ti: j721e-wiz: Add support for WIZ module present in TI J721E SoC 2020-01-14 10:50:19 +05:30
phy-am654-serdes.c Merge 5.9-rc8 into usb-next 2020-10-05 08:54:36 +02:00
phy-da8xx-usb.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 285 2019-06-05 17:36:37 +02:00
phy-dm816x-usb.c phy: ti: dm816x: remove set but unused variable 2020-07-08 16:40:24 +05:30
phy-gmii-sel.c phy: ti: gmii-sel: retrieve ports number and base offset from dt 2020-09-08 15:53:10 +05:30
phy-j721e-wiz.c phy: ti: Fix an error code in wiz_probe() 2021-05-31 14:11:44 +05:30
phy-omap-control.c phy: ti: convert to devm_platform_ioremap_resource(_byname) 2020-11-16 12:47:48 +05:30
phy-omap-usb2.c phy: ti: convert to devm_platform_ioremap_resource(_byname) 2020-11-16 12:47:48 +05:30
phy-ti-pipe3.c phy: ti: convert to devm_platform_ioremap_resource(_byname) 2020-11-16 12:47:48 +05:30
phy-tusb1210.c phy: tusb1210: use bitmasks to set VENDOR_SPECIFIC2 2021-03-12 15:33:05 +05:30
phy-twl4030-usb.c phy: phy-twl4030-usb: Fix possible use-after-free in twl4030_usb_remove() 2021-04-16 07:27:19 +02:00