usb: ehci-msm: Fix LOW Speed device enumeration issue

Disable ULPI_TX_PKT_EN_CLR_FIX which is valid only for HSIC core.
It otherwise causes enumeration failures with low speed devices.

Change-Id: I987bba3a8e0d609b6de6b5d33e11ca3bb0e03b1c
Signed-off-by: Manu Gautam <mgautam@codeaurora.org>
This commit is contained in:
Manu Gautam
2013-07-04 13:47:11 +05:30
parent 9e6f5c3e7c
commit 5a8492e758
+5 -1
View File
@@ -48,7 +48,7 @@ static int ehci_msm_reset(struct usb_hcd *hcd)
return retval;
/* bursts of unspecified length. */
writel(0, USB_AHBBURST);
writel_relaxed(0, USB_AHBBURST);
/* Use the AHB transactor */
writel_relaxed(0x08, USB_AHBMODE);
/* Disable streaming mode and select host mode */
@@ -60,6 +60,10 @@ static int ehci_msm_reset(struct usb_hcd *hcd)
USB_PHY_CTRL2);
}
/* Disable ULPI_TX_PKT_EN_CLR_FIX which is valid only for HSIC */
writel_relaxed(readl_relaxed(USB_GENCONFIG2) & ~(1<<19),
USB_GENCONFIG2);
ehci_port_power(ehci, 1);
return 0;
}