]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commitdiff
Match dwc2 device-tree fifo sizes to the hardware values.
authorJohn Greb <h3x4m3r0n@gmail.com>
Wed, 8 Mar 2017 15:12:29 +0000 (15:12 +0000)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Tue, 19 Sep 2017 10:07:56 +0000 (12:07 +0200)
Since commit aa381a7259c3f53727bcaa8c5f9359e940a0e3fd was reverted with 3fa9538539ac737096c81f3315a14670b1609092 the g-tx-fifo-size array in the device-tree needs to match the preset values in the bcm2835.

Resolves https://github.com/raspberrypi/linux/issues/1876

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
arch/arm/boot/dts/overlays/dwc2-overlay.dts

index 527abc9f0ddf71f4dc7d58336d87684c931cc2f3..265a16bab008453edba198cf2366c423509d60d6 100644 (file)
@@ -15,7 +15,7 @@
                        dr_mode = "otg";
                        g-np-tx-fifo-size = <32>;
                        g-rx-fifo-size = <256>;
-                       g-tx-fifo-size = <256 128 128 64 64 64 32>;
+                       g-tx-fifo-size = <512 512 512 512 512 768>;
                        status = "okay";
                };
        };
@@ -24,6 +24,5 @@
                dr_mode = <&dwc2_usb>, "dr_mode";
                g-np-tx-fifo-size = <&dwc2_usb>,"g-np-tx-fifo-size:0";
                g-rx-fifo-size = <&dwc2_usb>,"g-rx-fifo-size:0";
-               g-tx-fifo-size = <&dwc2_usb>,"g-tx-fifo-size:0";
        };
 };