Skip to content
Commit b976c987 authored by Wei Yongjun's avatar Wei Yongjun Committed by Vinod Koul
Browse files

phy: ralink: phy-mt7621-pci: fix return value check in mt7621_pci_phy_probe()



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

Fixes: d87da323 ("phy: ralink: Add PHY driver for MT7621 PCIe PHY")
Reported-by: default avatarHulk Robot <hulkci@huawei.com>
Signed-off-by: default avatarWei Yongjun <weiyongjun1@huawei.com>
Reviewed-by: default avatarSergio Paracuellos <sergio.paracuellos@gmail.com>
Link: https://lore.kernel.org/r/20210305034931.3237558-1-weiyongjun1@huawei.com


Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
parent 6cb17707
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment