From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andy Gross Subject: [PATCH 2/2] usb: host: ehci-msm: Use posted data writes on AHB Date: Fri, 6 Nov 2015 00:04:07 -0600 Message-ID: <1446789847-640-3-git-send-email-agross@codeaurora.org> References: <1446789847-640-1-git-send-email-agross@codeaurora.org> Return-path: In-Reply-To: <1446789847-640-1-git-send-email-agross@codeaurora.org> Sender: linux-kernel-owner@vger.kernel.org To: linux-usb@vger.kernel.org Cc: Greg KH , Peter Chen , Alan Stern , linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Andy Gross List-Id: linux-arm-msm@vger.kernel.org This patch sets the AHBMODE to allow for posted data writes. This results in higher performance. Signed-off-by: Andy Gross --- drivers/usb/host/ehci-msm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/usb/host/ehci-msm.c b/drivers/usb/host/ehci-msm.c index c4f84c8..c23e285 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); -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, hosted by The Linux Foundation