Skip to content

Commit 46e9947

Browse files
Wan Jiabingvinodkoul
authored andcommitted
phy: phy-mtk-tphy: Fix duplicated argument in phy-mtk-tphy
Fix following coccicheck warning: ./drivers/phy/mediatek/phy-mtk-tphy.c:994:6-29: duplicated argument to && or || The efuse_rx_imp is duplicate. Here should be efuse_tx_imp. Signed-off-by: Wan Jiabing <[email protected]> Acked-by: Chunfeng Yun <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vinod Koul <[email protected]>
1 parent cfc826c commit 46e9947

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/phy/mediatek/phy-mtk-tphy.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -992,7 +992,7 @@ static int phy_efuse_get(struct mtk_tphy *tphy, struct mtk_phy_instance *instanc
992992
/* no efuse, ignore it */
993993
if (!instance->efuse_intr &&
994994
!instance->efuse_rx_imp &&
995-
!instance->efuse_rx_imp) {
995+
!instance->efuse_tx_imp) {
996996
dev_warn(dev, "no u3 intr efuse, but dts enable it\n");
997997
instance->efuse_sw_en = 0;
998998
break;

0 commit comments

Comments
 (0)