From 9f46cc5ba4d6f8bcace3bec46a874750740795a8 Mon Sep 17 00:00:00 2001 From: balam Date: Mon, 8 Aug 2011 11:53:43 +0530 Subject: 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 Tested-by: Alex Courbot Reviewed-by: David Schalig Tested-by: David Schalig Reviewed-by: Rakesh Bodla Reviewed-by: Hanumanth Venkateswa Moganty --- drivers/usb/host/ehci-tegra.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) { -- cgit v1.2.3