]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
4.4-stable patches
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 May 2019 09:01:31 +0000 (11:01 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 May 2019 09:01:31 +0000 (11:01 +0200)
added patches:
usb-dwc3-fix-default-lpm_nyet_threshold-value.patch

queue-4.4/series
queue-4.4/usb-dwc3-fix-default-lpm_nyet_threshold-value.patch [new file with mode: 0644]

index 87ae2e04383f5b6dbef6a1f755ffab0ac4670ba3..0661e97ca77e44c90f0e5c06341d8bc22d93a4b0 100644 (file)
@@ -149,3 +149,4 @@ xtensa-fix-initialization-of-pt_regs-syscall-in-star.patch
 scsi-csiostor-fix-missing-data-copy-in-csio_scsi_err.patch
 iommu-amd-set-exclusion-range-correctly.patch
 genirq-prevent-use-after-free-and-work-list-corrupti.patch
+usb-dwc3-fix-default-lpm_nyet_threshold-value.patch
diff --git a/queue-4.4/usb-dwc3-fix-default-lpm_nyet_threshold-value.patch b/queue-4.4/usb-dwc3-fix-default-lpm_nyet_threshold-value.patch
new file mode 100644 (file)
index 0000000..0f45fdc
--- /dev/null
@@ -0,0 +1,33 @@
+From 8d791929b2fbdf7734c1596d808e55cb457f4562 Mon Sep 17 00:00:00 2001
+From: Thinh Nguyen <Thinh.Nguyen@synopsys.com>
+Date: Thu, 25 Apr 2019 13:55:23 -0700
+Subject: usb: dwc3: Fix default lpm_nyet_threshold value
+
+From: Thinh Nguyen <Thinh.Nguyen@synopsys.com>
+
+commit 8d791929b2fbdf7734c1596d808e55cb457f4562 upstream.
+
+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>
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+
+---
+ drivers/usb/dwc3/core.c |    2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/drivers/usb/dwc3/core.c
++++ b/drivers/usb/dwc3/core.c
+@@ -867,7 +867,7 @@ static int dwc3_probe(struct platform_de
+       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;