summaryrefslogtreecommitdiff
path: root/drivers/usb/host/ehci-msm.c
diff options
context:
space:
mode:
authorJack Pham <jackp@codeaurora.org>2015-12-11 00:28:53 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-01-25 04:51:18 (GMT)
commit132f5005abbd480b66c58f8113ed876b99b6318e (patch)
tree9659ac2d90b401fa6b2dcba8b2de51204ccead9c /drivers/usb/host/ehci-msm.c
parentadbff3a4f93d8501e8ae11906268e21b086d57ed (diff)
downloadlinux-132f5005abbd480b66c58f8113ed876b99b6318e.tar.xz
usb: host: ehci-msm: Allow LS devices to work
Disable the silicon quirk which is normally enabled for HSIC host mode. This would otherwise prevent low speed devices from enumerating properly. Signed-off-by: Jack Pham <jackp@codeaurora.org> Signed-off-by: Timur Tabi <timur@codeaurora.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/host/ehci-msm.c')
-rw-r--r--drivers/usb/host/ehci-msm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/usb/host/ehci-msm.c b/drivers/usb/host/ehci-msm.c
index c23e285..aed499d 100644
--- a/drivers/usb/host/ehci-msm.c
+++ b/drivers/usb/host/ehci-msm.c
@@ -61,6 +61,8 @@ static int ehci_msm_reset(struct usb_hcd *hcd)
writel(0x8, USB_AHBMODE);
/* Disable streaming mode and select host mode */
writel(0x13, USB_USBMODE);
+ /* Disable ULPI_TX_PKT_EN_CLR_FIX which is valid only for HSIC */
+ writel(readl(USB_GENCONFIG_2) & ~ULPI_TX_PKT_EN_CLR_FIX, USB_GENCONFIG_2);
return 0;
}