summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@localhost>2016-12-19 00:45:14 -0800
committerGerrit - the friendly Code Review server <code-review@localhost>2016-12-19 00:45:13 -0800
commitaf5b1d99f72134c3ff39dd546a28c1fd712b3058 (patch)
tree812e48cf2770feaf70ca9bddfdc40b89516a49ac
parent6319a389810ec699aac9777341d6be39f40923d6 (diff)
parent47b27b4d0f61f4ec4b3f608683cca1074eb2d211 (diff)
Merge "usb: qusb2: De-assert TCSR_QUSB2PHY_CLAMP_DIG_N_1P8 upon boot up"
-rw-r--r--drivers/usb/phy/phy-msm-qusb-v2.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/usb/phy/phy-msm-qusb-v2.c b/drivers/usb/phy/phy-msm-qusb-v2.c
index 86908d2ce9d5..0f9447c986a4 100644
--- a/drivers/usb/phy/phy-msm-qusb-v2.c
+++ b/drivers/usb/phy/phy-msm-qusb-v2.c
@@ -1048,6 +1048,9 @@ static int qusb_phy_probe(struct platform_device *pdev)
if (ret)
usb_remove_phy(&qphy->phy);
+ /* de-asseert clamp dig n to reduce leakage on 1p8 upon boot up */
+ writel_relaxed(0x0, qphy->tcsr_clamp_dig_n);
+
return ret;
}