summaryrefslogtreecommitdiff
path: root/drivers/usb
diff options
context:
space:
mode:
authorHaribabu Narayanan <hnarayanan@nvidia.com>2014-06-16 17:58:10 -0700
committerMatthew Pedro <mapedro@nvidia.com>2014-09-16 21:37:17 -0700
commit23dd5fee8bd60cdb143435ce13d4b1ed85d52e96 (patch)
treee7e45ac55a3c9799b24386332ba571e8abea1cee /drivers/usb
parent4d7daf785c70f7250fb854a4d8458771c2130890 (diff)
usb: xhci: tegra: remove PCIe dependency
PCIe powergating dependency is now handled internally in the powergating module for t12x/t13x. This patch removes PCIe related powergating calls from XHCI driver for tegra. Bug 1451279 Bug 1524744 Bug 200027067 Change-Id: I0752cd745f218266e1636cc7c40a6c29dee3b3d4 Reviewed-on: http://git-master/r/424036 (cherry picked from commit 91e2bd6728ca1969615081c70be6b2f21acd43d5) Signed-off-by: Vidya Sagar <vidyas@nvidia.com> Reviewed-on: http://git-master/r/498662 Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/host/xhci-tegra.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/drivers/usb/host/xhci-tegra.c b/drivers/usb/host/xhci-tegra.c
index 1a378a95d518..89f03df9e556 100644
--- a/drivers/usb/host/xhci-tegra.c
+++ b/drivers/usb/host/xhci-tegra.c
@@ -2712,12 +2712,6 @@ static int tegra_xhci_host_elpg_entry(struct tegra_xhci_hcd *tegra)
/* TODO: error handling? */
return ret;
}
- ret = tegra_powergate_partition(TEGRA_POWERGATE_PCIE);
- if (ret) {
- xhci_err(xhci, "%s: could not powergate pex partition %d\n",
- __func__, ret);
- return ret;
- }
tegra->host_pwr_gated = true;
clk_disable(tegra->host_clk);
@@ -3045,13 +3039,6 @@ tegra_xhci_host_partition_elpg_exit(struct tegra_xhci_hcd *tegra)
__func__, ret);
goto out;
}
- /* unpwrgate PEX(if not done by PCIE driver) due to HW Bug1320346 */
- ret = tegra_unpowergate_partition(TEGRA_POWERGATE_PCIE);
- if (ret) {
- xhci_err(xhci, "%s: could not unpowergate pex partition %d\n",
- __func__, ret);
- goto out;
- }
clk_enable(tegra->host_clk);
/* Step 4: Deassert reset to host partition clk */
@@ -4433,11 +4420,6 @@ static int tegra_xhci_probe(struct platform_device *pdev)
if (ret)
dev_err(&pdev->dev, "could not unpowergate xusbc partition\n");
- /* unpwrgate PEX(if not done by PCIE driver) due to HW Bug1320346 */
- ret = tegra_unpowergate_partition(TEGRA_POWERGATE_PCIE);
- if (ret)
- dev_err(&pdev->dev, "could not unpowergate pex partition\n");
-
ret = tegra_enable_xusb_clk(tegra, pdev);
if (ret)
dev_err(&pdev->dev, "could not enable partition clock\n");