aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips
diff options
context:
space:
mode:
authorSergio Paracuellos <sergio.paracuellos@gmail.com>2021-10-19 12:29:15 +0200
committerChristian Lamparter <chunkeey@gmail.com>2021-11-06 23:36:32 +0100
commite17f238f1d6837523504c98eb60a7300b4f148f9 (patch)
tree97aa2bb6fa9adf35ac16c408aeeb7427cf0d5192 /target/linux/ramips
parent217571b6abb3118a81e1cde32dd1151a9e95a0fc (diff)
downloadupstream-e17f238f1d6837523504c98eb60a7300b4f148f9.tar.gz
upstream-e17f238f1d6837523504c98eb60a7300b4f148f9.tar.bz2
upstream-e17f238f1d6837523504c98eb60a7300b4f148f9.zip
ramips: mt7621-dts: make use of 'IRQ_TYPE_LEVEL_HIGH' instead of magic numbers
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>
Diffstat (limited to 'target/linux/ramips')
-rw-r--r--target/linux/ramips/dts/mt7621.dtsi4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/ramips/dts/mt7621.dtsi b/target/linux/ramips/dts/mt7621.dtsi
index 53e13441e8..f4386a8cf8 100644
--- a/target/linux/ramips/dts/mt7621.dtsi
+++ b/target/linux/ramips/dts/mt7621.dtsi
@@ -227,7 +227,7 @@
reset-names = "dma";
interrupt-parent = <&gic>;
- interrupts = <0 13 4>;
+ interrupts = <0 13 IRQ_TYPE_LEVEL_HIGH>;
#dma-cells = <1>;
#dma-channels = <16>;
@@ -244,7 +244,7 @@
reset-names = "hsdma";
interrupt-parent = <&gic>;
- interrupts = <0 11 4>;
+ interrupts = <0 11 IRQ_TYPE_LEVEL_HIGH>;
#dma-cells = <1>;
#dma-channels = <1>;