Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

usb: host: ehci-msm: Use posted data writes on AHB

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>

authored by

Andy Gross and committed by
Greg Kroah-Hartman
c56a2b2b 5ce7d27d

+2 -2
+2 -2
drivers/usb/host/ehci-msm.c
··· 57 57 58 58 /* bursts of unspecified length. */ 59 59 writel(0, USB_AHBBURST); 60 - /* Use the AHB transactor */ 61 - writel(0, USB_AHBMODE); 60 + /* Use the AHB transactor, allow posted data writes */ 61 + writel(0x8, USB_AHBMODE); 62 62 /* Disable streaming mode and select host mode */ 63 63 writel(0x13, USB_USBMODE); 64 64