summaryrefslogtreecommitdiff
path: root/drivers/usb/host/ehci-hub.c
diff options
context:
space:
mode:
authorScott Williams <scwilliams@nvidia.com>2011-05-23 22:08:42 -0700
committerDan Willemsen <dwillemsen@nvidia.com>2013-09-14 01:13:57 -0700
commitd9a1597acd42cc567f06db5be04704cc0062c1ee (patch)
tree7c1cdd93b59688a0cca006cc2ad787a3edaf17b4 /drivers/usb/host/ehci-hub.c
parent4ee195b5197341a1ba59b3e3f18c99367d5f2b21 (diff)
arm: tegra: Clean up SOC conditionals
Change SOC conditionals to make them more forward-looking. Original-Change-Id: Ib60db4e690c2f396afdec962616d735548b5a8a9 Reviewed-on: http://git-master/r/32706 Reviewed-by: Niket Sirsi <nsirsi@nvidia.com> Tested-by: Niket Sirsi <nsirsi@nvidia.com> Rebase-Id: R6b5fc7c5110e02d29a98043492416569cc959969
Diffstat (limited to 'drivers/usb/host/ehci-hub.c')
-rw-r--r--drivers/usb/host/ehci-hub.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/host/ehci-hub.c b/drivers/usb/host/ehci-hub.c
index 1d0d3acccdda..e5c525dd5aba 100644
--- a/drivers/usb/host/ehci-hub.c
+++ b/drivers/usb/host/ehci-hub.c
@@ -292,7 +292,7 @@ static int ehci_bus_suspend (struct usb_hcd *hcd)
changed = 1;
}
}
-#ifndef CONFIG_ARCH_TEGRA_3x_SOC
+#ifdef CONFIG_ARCH_TEGRA_2x_SOC
if (changed && ehci->has_hostpc) {
spin_unlock_irq(&ehci->lock);
msleep(5); /* 5 ms for HCD to enter low-power mode */