summaryrefslogtreecommitdiff
path: root/drivers/usb/phy
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@localhost>2016-12-20 14:04:24 -0800
committerGerrit - the friendly Code Review server <code-review@localhost>2016-12-20 14:04:24 -0800
commit9d820bba82f9f7dbbcb8f4192bd404614cfd830f (patch)
tree0bb16e314b762640549b9b188710d42a187c274d /drivers/usb/phy
parent164220fbcddf32652357ed110d989ba324a340a1 (diff)
parent6ffbb989b5f7d86a979d79f1ccdcdf29472dfd1c (diff)
Merge "usb: qusb2: De-assert TCSR_QUSB2PHY_CLAMP_DIG_N_1P8 upon boot up"
Diffstat (limited to 'drivers/usb/phy')
-rw-r--r--drivers/usb/phy/phy-msm-qusb.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/usb/phy/phy-msm-qusb.c b/drivers/usb/phy/phy-msm-qusb.c
index 839d701ec9b5..07c96419fd60 100644
--- a/drivers/usb/phy/phy-msm-qusb.c
+++ b/drivers/usb/phy/phy-msm-qusb.c
@@ -1088,6 +1088,10 @@ static int qusb_phy_probe(struct platform_device *pdev)
if (ret)
usb_remove_phy(&qphy->phy);
+ /* de-assert clamp dig n to reduce leakage on 1p8 upon boot up */
+ if (qphy->tcsr_clamp_dig_n)
+ writel_relaxed(0x0, qphy->tcsr_clamp_dig_n);
+
return ret;
}