From 02ac9b28b5430b720488ba159a73c5fd4806012f Mon Sep 17 00:00:00 2001 From: William Wu Date: Wed, 26 Apr 2017 17:54:54 +0800 Subject: [PATCH] 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 --- drivers/usb/dwc_otg_310/dwc_otg_driver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/dwc_otg_310/dwc_otg_driver.c b/drivers/usb/dwc_otg_310/dwc_otg_driver.c index b0a2542c7209..7bcf93dbe905 100644 --- a/drivers/usb/dwc_otg_310/dwc_otg_driver.c +++ b/drivers/usb/dwc_otg_310/dwc_otg_driver.c @@ -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,