]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
usb: host: ehci-msm: Use posted data writes on AHB
authorAndy Gross <agross@codeaurora.org>
Thu, 5 Nov 2015 21:24:59 +0000 (15:24 -0600)
committerSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Thu, 14 Jan 2016 10:51:20 +0000 (10:51 +0000)
This patch sets the AHBMODE to allow for posted data writes.  This
results in higher performance.

Signed-off-by: Andy Gross <agross@codeaurora.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);