projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c115c56
)
phy: qualcomm: remove duplicate argument
author
Zhang Yunkai
<zhang.yunkai@zte.com.cn>
Fri, 19 Mar 2021 11:36:12 +0000
(
04:36
-0700)
committer
Vinod Koul
<vkoul@kernel.org>
Thu, 25 Mar 2021 07:25:40 +0000
(12:55 +0530)
'HSUSB_CTRL_DPSEHV_CLAMP' in 'val' is duplicated.
Signed-off-by: Zhang Yunkai <zhang.yunkai@zte.com.cn>
Link:
https://lore.kernel.org/r/20210319113612.494623-1-zhang.yunkai@zte.com.cn
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/qualcomm/phy-qcom-ipq806x-usb.c
patch
|
blob
|
history
diff --git
a/drivers/phy/qualcomm/phy-qcom-ipq806x-usb.c
b/drivers/phy/qualcomm/phy-qcom-ipq806x-usb.c
index
9061ece
..
bfff0c8
100644
(file)
--- 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)