]> git.karo-electronics.de Git - linux-beck.git/commitdiff
usb: host: ehci-msm: Use posted data writes on AHB
authorAndy Gross <agross@codeaurora.org>
Fri, 6 Nov 2015 06:04:07 +0000 (00:04 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 1 Dec 2015 22:57:12 +0000 (14:57 -0800)
This patch sets the AHBMODE to allow for posted data writes.  This
results in higher performance.

Signed-off-by: Andy Gross <agross@codeaurora.org>
Tested-by: Georgi Djakov <georgi.djakov@linaro.org>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/ehci-msm.c

index c4f84c81de0194e33b9bad75e6aafd1c9074dd74..c23e2858c815bbf15dc6de9bc98714349fa97177 100644 (file)
@@ -57,8 +57,8 @@ static int ehci_msm_reset(struct usb_hcd *hcd)
 
        /* bursts of unspecified length. */
        writel(0, USB_AHBBURST);
-       /* Use the AHB transactor */
-       writel(0, USB_AHBMODE);
+       /* Use the AHB transactor, allow posted data writes */
+       writel(0x8, USB_AHBMODE);
        /* Disable streaming mode and select host mode */
        writel(0x13, USB_USBMODE);