usb: dwc_otg_310: set transmit threshold length to 16 DWORDS

According to DWC2 databook V3.10a, 5.3.5.14 Device Threshold
Control Register (DTHRCTL), it recommends that the Transmit
Threshold Length (TxThrLen) is to be the same as the programmed
AHB Burst Length (GAHBCFG.HBstLen), on Rockchip platform the
value is 16.

Change-Id: I6427e3a3fc7b57e85229cdf4b9c5fff878b919b6
Signed-off-by: William Wu <william.wu@rock-chips.com>
This commit is contained in:
William Wu
2017-04-26 17:54:54 +08:00
committed by Tao Huang
parent 5e5c15bd6a
commit 02ac9b28b5

View File

@@ -201,7 +201,7 @@ static struct dwc_otg_driver_module_params dwc_otg_module_params = {
/* 15 */
},
.thr_ctl = -1,
.tx_thr_length = -1,
.tx_thr_length = 16,
.rx_thr_length = -1,
.pti_enable = -1,
.mpi_enable = -1,