summaryrefslogtreecommitdiff
path: root/drivers/usb/dwc3
diff options
context:
space:
mode:
authorHemant Kumar <hemantk@codeaurora.org>2017-02-08 16:15:57 -0800
committerHemant Kumar <hemantk@codeaurora.org>2017-02-08 16:15:57 -0800
commit01c2416de7cb6a1c97d8cfff2176decd5b579f25 (patch)
tree5429b1e1f121c9037c9c30cc64b9ca5cb65356cb /drivers/usb/dwc3
parent2aa89ab3ff59a788321bc6af782d639cfc8dab1f (diff)
usb: dwc3: Fix LPM NYET Threshold value
highest possible LPM NYET threshold value is 0xf because LPM_NYET_THRES uses 4 bits in DWC_USB3_DCTL register. Value is incorrectly written as 0xff which is overriding the value of other register bits. Change-Id: Ib15fdfd01bf75fe6291b8fd2b0317e9b4c0c97c9 Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
Diffstat (limited to 'drivers/usb/dwc3')
-rw-r--r--drivers/usb/dwc3/core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/dwc3/core.c b/drivers/usb/dwc3/core.c
index 2ac9b28e036f..5b648460e621 100644
--- a/drivers/usb/dwc3/core.c
+++ b/drivers/usb/dwc3/core.c
@@ -1079,7 +1079,7 @@ static int dwc3_probe(struct platform_device *pdev)
dwc->regs_size = resource_size(res);
/* default to highest possible threshold */
- lpm_nyet_threshold = 0xff;
+ lpm_nyet_threshold = 0xf;
/* default to -3.5dB de-emphasis */
tx_de_emphasis = 1;