summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbalam <balam@nvidia.com>2011-08-08 11:53:43 +0530
committerManish Tuteja <mtuteja@nvidia.com>2011-08-11 03:36:32 -0700
commit9f46cc5ba4d6f8bcace3bec46a874750740795a8 (patch)
treeba99d4af49b4b3c83e91036a893787b50ea66d2b
parent0ee38bb7f7b6720b6c0627a9cf8c334678066d8d (diff)
usb: ehci: tegra: enable hotplug interrupt for port3
Hotplug on usb is supported only for usb3(instance 2) Bug 859355 Change-Id: I9f31ebae5bda51beddc23dc6e13fd635cf8cef47 Reviewed-on: http://git-master/r/45763 Reviewed-by: Alex Courbot <acourbot@nvidia.com> Tested-by: Alex Courbot <acourbot@nvidia.com> Reviewed-by: David Schalig <dschalig@nvidia.com> Tested-by: David Schalig <dschalig@nvidia.com> Reviewed-by: Rakesh Bodla <rbodla@nvidia.com> Reviewed-by: Hanumanth Venkateswa Moganty <vmoganty@nvidia.com>
-rw-r--r--drivers/usb/host/ehci-tegra.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/host/ehci-tegra.c b/drivers/usb/host/ehci-tegra.c
index 64385a38bf28..08bef32b9a07 100644
--- a/drivers/usb/host/ehci-tegra.c
+++ b/drivers/usb/host/ehci-tegra.c
@@ -85,7 +85,7 @@ static irqreturn_t tegra_ehci_irq (struct usb_hcd *hcd)
struct ehci_regs __iomem *hw = ehci->regs;
u32 val;
- if (tegra->phy->usb_phy_type == TEGRA_USB_PHY_TYPE_UTMIP) {
+ if (tegra->phy->instance == 2) {
spin_lock(&ehci->lock);
val = readl(hcd->regs + TEGRA_USB_SUSP_CTRL_OFFSET);
if ((val & TEGRA_USB_PHY_CLK_VALID_INT_STS)) {