summaryrefslogtreecommitdiff
path: root/drivers/usb
diff options
context:
space:
mode:
authorRohith Seelaboyina <rseelaboyina@nvidia.com>2013-05-24 16:16:24 +0530
committerRiham Haidar <rhaidar@nvidia.com>2013-05-24 15:49:32 -0700
commit9ec58b506a4dacbbf467f50e5bd4330495130e1a (patch)
tree7f15efe0f2627419262698835716742741c9f0af /drivers/usb
parented2a5fd8f504e9bbb6a1212e36def8ffb27daf99 (diff)
Revert "ARM: tegra: usb: powerdown OTG circuit if not needed"
This reverts commit fc4f513adba751c4726b8bc5fadac5407354788d. Change-Id: I5208d56f89df2a0f479540c9b5afc0c6826b575a Signed-off-by: Rohith Seelaboyina <rseelaboyina@nvidia.com> Reviewed-on: http://git-master/r/232567 Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/host/xhci-tegra.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/usb/host/xhci-tegra.c b/drivers/usb/host/xhci-tegra.c
index f094e745eb77..3044af00befe 100644
--- a/drivers/usb/host/xhci-tegra.c
+++ b/drivers/usb/host/xhci-tegra.c
@@ -2263,7 +2263,7 @@ done:
/* pads are disabled only if usb2 root hub in xusb is idle */
/* pads will actually be disabled only when all usb2 ports are idle */
if (xhci->main_hcd == hcd) {
- utmi_phy_pad_disable(0);
+ utmi_phy_pad_disable();
utmi_phy_iddq_override(true);
} else if (xhci->shared_hcd == hcd) {
/* save leakage power when SS not in use.
@@ -2309,7 +2309,7 @@ static int tegra_xhci_bus_resume(struct usb_hcd *hcd)
/* pads are disabled only if usb2 root hub in xusb is idle */
/* pads will actually be disabled only when all usb2 ports are idle */
if (xhci->main_hcd == hcd && tegra->usb2_rh_suspend) {
- utmi_phy_pad_enable(0);
+ utmi_phy_pad_enable();
utmi_phy_iddq_override(false);
} else if (xhci->shared_hcd == hcd && tegra->usb3_rh_suspend) {
/* clear ovrd bits */
@@ -2826,7 +2826,7 @@ static int tegra_xhci_probe(struct platform_device *pdev)
writel(pmc_reg, tegra->pmc_base + PMC_UTMIP_UHSIC_SLEEP_CFG_0);
tegra_xhci_debug_read_pads(tegra);
- utmi_phy_pad_enable(0);
+ utmi_phy_pad_enable();
utmi_phy_iddq_override(false);
return 0;
@@ -2878,7 +2878,7 @@ static int tegra_xhci_remove(struct platform_device *pdev)
tegra_usb2_clocks_deinit(tegra);
if (!tegra->hc_in_elpg)
tegra_xusb_partitions_clk_deinit(tegra);
- utmi_phy_pad_disable(0);
+ utmi_phy_pad_disable();
utmi_phy_iddq_override(true);
return 0;