From 01c2416de7cb6a1c97d8cfff2176decd5b579f25 Mon Sep 17 00:00:00 2001 From: Hemant Kumar Date: Wed, 8 Feb 2017 16:15:57 -0800 Subject: 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 --- drivers/usb/dwc3/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3