diff options
author | Andy Gross <agross@codeaurora.org> | 2015-11-06 07:04:06 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-12-01 23:57:12 +0100 |
commit | 5ce7d27d5c4dd40d7b147f7a4c2f7308508208a7 (patch) | |
tree | 9ca41b7940607eee3ba20c6161eded4f8b8e7452 /drivers/usb/chipidea/ci_hdrc_msm.c | |
parent | USB: usbmon: Use 64bit timestamp for mon_bin_hdr (diff) | |
download | linux-5ce7d27d5c4dd40d7b147f7a4c2f7308508208a7.tar.xz linux-5ce7d27d5c4dd40d7b147f7a4c2f7308508208a7.zip |
usb: chipidea: 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>
Acked-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/chipidea/ci_hdrc_msm.c')
-rw-r--r-- | drivers/usb/chipidea/ci_hdrc_msm.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/usb/chipidea/ci_hdrc_msm.c b/drivers/usb/chipidea/ci_hdrc_msm.c index d79ecc08a1be..3889809fd0c4 100644 --- a/drivers/usb/chipidea/ci_hdrc_msm.c +++ b/drivers/usb/chipidea/ci_hdrc_msm.c @@ -25,7 +25,8 @@ static void ci_hdrc_msm_notify_event(struct ci_hdrc *ci, unsigned event) case CI_HDRC_CONTROLLER_RESET_EVENT: dev_dbg(dev, "CI_HDRC_CONTROLLER_RESET_EVENT received\n"); writel(0, USB_AHBBURST); - writel(0, USB_AHBMODE); + /* use AHB transactor, allow posted data writes */ + writel(0x8, USB_AHBMODE); usb_phy_init(ci->usb_phy); break; case CI_HDRC_CONTROLLER_STOPPED_EVENT: |