aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Gross <[email protected]>2015-11-06 00:04:07 -0600
committerGreg Kroah-Hartman <[email protected]>2015-12-01 14:57:12 -0800
commitc56a2b2bc661fe089fde9beffeadcb0ecb5e934b (patch)
tree122a18a4b72d4be386bea446898fc9d474a59f7c
parent5ce7d27d5c4dd40d7b147f7a4c2f7308508208a7 (diff)
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 <[email protected]> Tested-by: Georgi Djakov <[email protected]> Acked-by: Alan Stern <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
-rw-r--r--drivers/usb/host/ehci-msm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/host/ehci-msm.c b/drivers/usb/host/ehci-msm.c
index c4f84c81de01..c23e2858c815 100644
--- a/drivers/usb/host/ehci-msm.c
+++ b/drivers/usb/host/ehci-msm.c
@@ -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);