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>
Tue, 30 Mar 2021 18:05:17 +0000 (23:35 +0530)
commit446c200ee3e8f6faf189ef6f25a0f5bb294afae4
tree85a1db0016ada0fa2cc11489a112273effb8064f
parentb976c987511e34a2e9b23545de912a121a9eded5
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