aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm2708/patches-4.14/950-0255-overlays-use-all-seven-dwc2-gadget-fifos.patch
blob: 96ad5e483683e48e910a0414fc8b4529419ebc64 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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";
 		};
 	};