Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c56a2b2b authored by Andy Gross's avatar Andy Gross Committed by Greg Kroah-Hartman
Browse files

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: default avatarAndy Gross <agross@codeaurora.org>
Tested-by: default avatarGeorgi Djakov <georgi.djakov@linaro.org>
Acked-by: default avatarAlan Stern <stern@rowland.harvard.edu>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 5ce7d27d
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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);