diff options
author | Razmik Karapetyan <razmik@synopsys.com> | 2018-01-19 13:40:23 +0300 |
---|---|---|
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | 2018-03-13 11:47:40 +0300 |
commit | 1b52d2fac4075e8e32a95ad81b521fdab1e1678c (patch) | |
tree | 17f48a3bcdbdebba3ca09020a54f157dee7dd64f /drivers/usb/dwc2/params.c | |
parent | d1ac8c802dce92971d1cc81f82a3466b2104e787 (diff) | |
download | linux-1b52d2fac4075e8e32a95ad81b521fdab1e1678c.tar.xz |
usb: dwc2: Set AHB burst size to INCR
Changed AHB burst size from INCR4 to INCR by default.
With this value driver shows excellent DMA performance.
Acked-by: John Youn <johnyoun@synopsys.com>
Signed-off-by: Razmik Karapetyan <razmik@synopsys.com>
Signed-off-by: Grigor Tovmasyan <tovmasya@synopsys.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'drivers/usb/dwc2/params.c')
-rw-r--r-- | drivers/usb/dwc2/params.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/dwc2/params.c b/drivers/usb/dwc2/params.c index 82f5846d7671..430325510812 100644 --- a/drivers/usb/dwc2/params.c +++ b/drivers/usb/dwc2/params.c @@ -280,7 +280,7 @@ static void dwc2_set_default_params(struct dwc2_hsotg *hsotg) p->hibernation = false; p->max_packet_count = hw->max_packet_count; p->max_transfer_size = hw->max_transfer_size; - p->ahbcfg = GAHBCFG_HBSTLEN_INCR4 << GAHBCFG_HBSTLEN_SHIFT; + p->ahbcfg = GAHBCFG_HBSTLEN_INCR << GAHBCFG_HBSTLEN_SHIFT; if ((hsotg->dr_mode == USB_DR_MODE_HOST) || (hsotg->dr_mode == USB_DR_MODE_OTG)) { |