mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-06 16:49:22 +00:00
phy: phy-mtk-tphy: Fix duplicated argument in phy-mtk-tphy
[ Upstream commit 46e9947178
]
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 <wanjiabing@vivo.com>
Acked-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
Link: https://lore.kernel.org/r/20220107025050.787720-1-wanjiabing@vivo.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
993db6da4a
commit
459b97c958
1 changed files with 1 additions and 1 deletions
|
@ -1125,7 +1125,7 @@ static int phy_efuse_get(struct mtk_tphy *tphy, struct mtk_phy_instance *instanc
|
|||
/* no efuse, ignore it */
|
||||
if (!instance->efuse_intr &&
|
||||
!instance->efuse_rx_imp &&
|
||||
!instance->efuse_rx_imp) {
|
||||
!instance->efuse_tx_imp) {
|
||||
dev_warn(dev, "no u3 intr efuse, but dts enable it\n");
|
||||
instance->efuse_sw_en = 0;
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue