diff --git a/drivers/usb/dwc2/core.h b/drivers/usb/dwc2/core.h index 1b6e4ccda6175356ad9d612ddf8766139d22bf65..cc9bf68b5e7c1dae1b47a1f8b7b7490f081bd8c9 100644 --- a/drivers/usb/dwc2/core.h +++ b/drivers/usb/dwc2/core.h @@ -408,7 +408,7 @@ enum dwc2_ep0_state { * @ahbcfg: This field allows the default value of the GAHBCFG * register to be overridden * -1 - GAHBCFG value will be set to 0x06 - * (INCR4, default) + * (INCR, default) * all others - GAHBCFG value will be overridden with * this value * Not all bits can be controlled like this, the diff --git a/drivers/usb/dwc2/params.c b/drivers/usb/dwc2/params.c index 82f5846d767152cfa7fde5882b6db2c00c8a5798..430325510812495774cddf16026ab005efc678c5 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)) {