aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm2708/patches-4.14/950-0255-overlays-use-all-seven-dwc2-gadget-fifos.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/brcm2708/patches-4.14/950-0255-overlays-use-all-seven-dwc2-gadget-fifos.patch')
-rw-r--r--target/linux/brcm2708/patches-4.14/950-0255-overlays-use-all-seven-dwc2-gadget-fifos.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/target/linux/brcm2708/patches-4.14/950-0255-overlays-use-all-seven-dwc2-gadget-fifos.patch b/target/linux/brcm2708/patches-4.14/950-0255-overlays-use-all-seven-dwc2-gadget-fifos.patch
new file mode 100644
index 0000000000..96ad5e4836
--- /dev/null
+++ b/target/linux/brcm2708/patches-4.14/950-0255-overlays-use-all-seven-dwc2-gadget-fifos.patch
@@ -0,0 +1,27 @@
+From 5c0c93fe305e7ea9bf7088e731cc64252df7ae64 Mon Sep 17 00:00:00 2001
+From: hexameron <hexameron>
+Date: Tue, 20 Mar 2018 12:48:10 +0000
+Subject: [PATCH 255/454] overlays: use all seven dwc2 gadget fifos.
+
+Linux 4.9 needed fifos to be set to their default values,
+ leaving the last one (silently) set to zero size.
+From 4.12 Linux allows fifos to be set to any size EXCEPT zero.
+
+Resolves https://github.com/raspberrypi/linux/issues/2390
+
+Signed-off-by: John Greb <h3x4m3r0n@gmail.com>
+---
+ arch/arm/boot/dts/overlays/dwc2-overlay.dts | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/arch/arm/boot/dts/overlays/dwc2-overlay.dts
++++ b/arch/arm/boot/dts/overlays/dwc2-overlay.dts
+@@ -15,7 +15,7 @@
+ dr_mode = "otg";
+ g-np-tx-fifo-size = <32>;
+ g-rx-fifo-size = <256>;
+- g-tx-fifo-size = <512 512 512 512 512 768>;
++ g-tx-fifo-size = <512 512 512 512 512 256 256>;
+ status = "okay";
+ };
+ };