summaryrefslogtreecommitdiff
path: root/drivers/usb/host
diff options
context:
space:
mode:
authorSuresh Mangipudi <smangipudi@nvidia.com>2011-01-18 10:03:50 +0530
committerDan Willemsen <dwillemsen@nvidia.com>2011-04-26 15:50:04 -0700
commita145bffe83da03ddebfb82f05c5d6242b9f52bfe (patch)
tree3703023b60a5c04453335d75190e1335679c335a /drivers/usb/host
parent2884c6855bc7af2ff398e695fbc4491d44a9d696 (diff)
[tegra/usb] Enable USB host.
Enabling USB host. Bug 770363 Reviewed-on: http://git-master/r/15792 (cherry picked from commit b71c1a6c5d22ee6053405cf26520d080e439018c) Original-Change-Id: Iff2c12453cf1efa7ee523d125a3c0b429c292ff2 Reviewed-on: http://git-master/r/16684 Reviewed-by: Suresh Mangipudi <smangipudi@nvidia.com> Tested-by: Suresh Mangipudi <smangipudi@nvidia.com> Reviewed-by: Scott Williams <scwilliams@nvidia.com> Change-Id: I31ce16b026dc50016aed7fbe1722354c4c061437
Diffstat (limited to 'drivers/usb/host')
-rw-r--r--drivers/usb/host/ehci-tegra.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/usb/host/ehci-tegra.c b/drivers/usb/host/ehci-tegra.c
index 7de2a0ca28a6..8c4ec25a9ad3 100644
--- a/drivers/usb/host/ehci-tegra.c
+++ b/drivers/usb/host/ehci-tegra.c
@@ -475,6 +475,10 @@ static int tegra_ehci_setup(struct usb_hcd *hcd)
/* cache this readonly data; minimize chip reads */
ehci->hcs_params = readl(&ehci->caps->hcs_params);
+#ifndef CONFIG_ARCH_TEGRA_2x_SOC
+ ehci->has_hostpc = 1;
+#endif
+
/* switch to host mode */
hcd->has_tt = 1;
ehci_reset(ehci);