]> git.itanic.dy.fi Git - linux-stable/commitdiff
staging: mt7621-dts: make use of 'IRQ_TYPE_LEVEL_HIGH' instead of magic numbers
authorSergio Paracuellos <sergio.paracuellos@gmail.com>
Tue, 19 Oct 2021 10:29:15 +0000 (12:29 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 20 Oct 2021 17:34:46 +0000 (19:34 +0200)
Nodes 'gdma' and 'hsdma' are using magic number '4' in interrupts property.
Use 'IRQ_TYPE_LEVEL_HIGH' instead to align with the rest of the nodes in
the file.

Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Link: https://lore.kernel.org/r/20211019102915.15409-2-sergio.paracuellos@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/mt7621-dts/mt7621.dtsi

index ea9cbc6b92cf978517a80811acd2ecf94a3c796c..82b64d4aab2ee4ebdc310d15d3e04573fdb06571 100644 (file)
@@ -149,7 +149,7 @@ gdma: gdma@2800 {
                        reset-names = "dma";
 
                        interrupt-parent = <&gic>;
-                       interrupts = <0 13 4>;
+                       interrupts = <0 13 IRQ_TYPE_LEVEL_HIGH>;
 
                        #dma-cells = <1>;
                        #dma-channels = <16>;
@@ -168,7 +168,7 @@ hsdma: hsdma@7000 {
                        reset-names = "hsdma";
 
                        interrupt-parent = <&gic>;
-                       interrupts = <0 11 4>;
+                       interrupts = <0 11 IRQ_TYPE_LEVEL_HIGH>;
 
                        #dma-cells = <1>;
                        #dma-channels = <1>;