summaryrefslogtreecommitdiff
path: root/drivers/usb
diff options
context:
space:
mode:
authorAjay Gupta <ajayg@nvidia.com>2013-01-30 19:26:06 -0800
committerDan Willemsen <dwillemsen@nvidia.com>2013-09-14 12:51:41 -0700
commitf20d5ffe4234cf7aca9bf78d3183d4f354ffe7e1 (patch)
treed5a0c27afb63f259b55229df076355c5ae30b2cb /drivers/usb
parentba1ca0c6107f1892a040e834bc13ea2f8feaad6c (diff)
usb: xhci: tegra: don't disable wakeup event for unused ports
We had seen ELPG loop issue if wakeup event for unused ports are not disabled. This seems to be due to some programming in USB2 driver which has been fixed now so there is no need to disable wakeup event for unused ports. BUG 1177456 Change-Id: I6bce86cffed826ae5ea294da44334d8afdf7fd0e Signed-off-by: Ajay Gupta <ajayg@nvidia.com> Change-Id: If9262395bd23a7870a030b11e9253885e40983a3 Reviewed-on: http://git-master/r/196129 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Ashutosh Jha <ajha@nvidia.com> Reviewed-by: Henry Lin <henryl@nvidia.com> GVS: Gerrit_Virtual_Submit
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/host/xhci-tegra.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/drivers/usb/host/xhci-tegra.c b/drivers/usb/host/xhci-tegra.c
index e06d070bf1e0..7929218a3087 100644
--- a/drivers/usb/host/xhci-tegra.c
+++ b/drivers/usb/host/xhci-tegra.c
@@ -374,7 +374,6 @@ static int tegra_xhci_pmc_usb2_wakenotif_init(struct tegra_xhci_hcd *tegra,
struct platform_device *pdev = tegra->pdev;
struct xhci_hcd *xhci = tegra->xhci;
struct usb_hcd *hcd = xhci_to_hcd(xhci);
- int i;
u32 val;
/*
@@ -458,18 +457,6 @@ static int tegra_xhci_pmc_usb2_wakenotif_init(struct tegra_xhci_hcd *tegra,
writel(val, pmc_base + PMC_UTMIP_UHSIC_SAVED_STATE_0);
- /* PMC_UTMIP_UHSIC_LINE_WAKEUP_0 */
- for (i = 0; i < PMC_PORT_NUM; i++) {
- val = readl(pmc_base + PMC_UTMIP_UHSIC_LINE_WAKEUP_0);
- val &= ~UTMIP_LINE_WAKEUP_EN(i);
- writel(val, pmc_base + PMC_UTMIP_UHSIC_LINE_WAKEUP_0);
- }
-
- /* UHSIC2_LINE_WAKEUP_EN_P1=0 */
- val = readl(pmc_base + PMC_UTMIP_UHSIC2_LINE_WAKEUP_0);
- val &= ~UHSIC_LINE_WAKEUP_EN_P1;
- writel(val, pmc_base + PMC_UTMIP_UHSIC2_LINE_WAKEUP_0);
-
/*
* G. Remove fake values and make synchronizers work a bit.
* (TODO: Duplicate with #C?)