diff options
| author | Thinh Nguyen <Thinh.Nguyen@synopsys.com> | 2019-04-25 16:55:23 -0400 |
|---|---|---|
| committer | Felipe Balbi <felipe.balbi@linux.intel.com> | 2019-05-03 02:13:49 -0400 |
| commit | 8d791929b2fbdf7734c1596d808e55cb457f4562 (patch) | |
| tree | 3438ee6e5aa9822206a5856ebb584acac805a1c8 | |
| parent | dd24f9b604d3bf04c23544695e1cdbdc84e0c7de (diff) | |
usb: dwc3: Fix default lpm_nyet_threshold value
The max possible value for DCTL.LPM_NYET_THRES is 15 and not 255. Change
the default value to 15.
Cc: stable@vger.kernel.org
Fixes: 80caf7d21adc ("usb: dwc3: add lpm erratum support")
Signed-off-by: Thinh Nguyen <thinhn@synopsys.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
| -rw-r--r-- | drivers/usb/dwc3/core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/dwc3/core.c b/drivers/usb/dwc3/core.c index 2e0660752c0e..4aff1d8dbc4f 100644 --- a/drivers/usb/dwc3/core.c +++ b/drivers/usb/dwc3/core.c | |||
| @@ -1215,7 +1215,7 @@ static void dwc3_get_properties(struct dwc3 *dwc) | |||
| 1215 | u8 tx_max_burst_prd; | 1215 | u8 tx_max_burst_prd; |
| 1216 | 1216 | ||
| 1217 | /* default to highest possible threshold */ | 1217 | /* default to highest possible threshold */ |
| 1218 | lpm_nyet_threshold = 0xff; | 1218 | lpm_nyet_threshold = 0xf; |
| 1219 | 1219 | ||
| 1220 | /* default to -3.5dB de-emphasis */ | 1220 | /* default to -3.5dB de-emphasis */ |
| 1221 | tx_de_emphasis = 1; | 1221 | tx_de_emphasis = 1; |
