[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210319113612.494623-1-zhang.yunkai@zte.com.cn>
Date: Fri, 19 Mar 2021 04:36:12 -0700
From: menglong8.dong@...il.com
To: agross@...nel.org
Cc: bjorn.andersson@...aro.org, kishon@...com, vkoul@...nel.org,
linux-arm-msm@...r.kernel.org, linux-kernel@...r.kernel.org,
Zhang Yunkai <zhang.yunkai@....com.cn>
Subject: [PATCH] phy:qualcomm: remove duplicate argument
From: Zhang Yunkai <zhang.yunkai@....com.cn>
'HSUSB_CTRL_DPSEHV_CLAMP' in 'val' is duplicated.
Signed-off-by: Zhang Yunkai <zhang.yunkai@....com.cn>
---
drivers/phy/qualcomm/phy-qcom-ipq806x-usb.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/phy/qualcomm/phy-qcom-ipq806x-usb.c b/drivers/phy/qualcomm/phy-qcom-ipq806x-usb.c
index 9061ece7ff6a..bfff0c8c9130 100644
--- a/drivers/phy/qualcomm/phy-qcom-ipq806x-usb.c
+++ b/drivers/phy/qualcomm/phy-qcom-ipq806x-usb.c
@@ -276,8 +276,8 @@ static int qcom_ipq806x_usb_hs_phy_init(struct phy *phy)
val = HSUSB_CTRL_DPSEHV_CLAMP | HSUSB_CTRL_DMSEHV_CLAMP |
HSUSB_CTRL_RETENABLEN | HSUSB_CTRL_COMMONONN |
HSUSB_CTRL_OTGSESSVLD_CLAMP | HSUSB_CTRL_ID_HV_CLAMP |
- HSUSB_CTRL_DPSEHV_CLAMP | HSUSB_CTRL_UTMI_OTG_VBUS_VALID |
- HSUSB_CTRL_UTMI_CLK_EN | HSUSB_CTRL_CLAMP_EN | 0x70;
+ HSUSB_CTRL_UTMI_OTG_VBUS_VALID | HSUSB_CTRL_UTMI_CLK_EN |
+ HSUSB_CTRL_CLAMP_EN | 0x70;
/* use core clock if external reference is not present */
if (!phy_dwc3->xo_clk)
--
2.25.1
Powered by blists - more mailing lists