]> www.infradead.org Git - users/jedix/linux-maple.git/commit
phy: ingenic: Fix a typo in ingenic_usb_phy_probe()
authorWei Yongjun <weiyongjun1@huawei.com>
Fri, 5 Mar 2021 03:49:33 +0000 (03:49 +0000)
committerVinod Koul <vkoul@kernel.org>
Mon, 15 Mar 2021 10:30:49 +0000 (16:00 +0530)
commit07789dc33f6f08f7061f6c088fd5ce1479e2f84b
tree6705bf0a7d5e8bdc9eabc46029288dd1798d2b61
parent7e9908d1ab2e76cfb08bc1f602688486b0ed9952
phy: ingenic: Fix a typo in ingenic_usb_phy_probe()

Fix the return value check typo which testing the wrong variable
in ingenic_usb_phy_probe().

Fixes: 31de313dfdcf ("PHY: Ingenic: Add USB PHY driver using generic PHY framework.")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Acked-by: Paul Cercueil <paul@crapouillou.net>
Link: https://lore.kernel.org/r/20210305034933.3240914-1-weiyongjun1@huawei.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/ingenic/phy-ingenic-usb.c