Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

staging: 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>

authored by

Sergio Paracuellos and committed by
Greg Kroah-Hartman
5978d492 efbc7bd9

+2 -2
+2 -2
drivers/staging/mt7621-dts/mt7621.dtsi
··· 149 149 reset-names = "dma"; 150 150 151 151 interrupt-parent = <&gic>; 152 - interrupts = <0 13 4>; 152 + interrupts = <0 13 IRQ_TYPE_LEVEL_HIGH>; 153 153 154 154 #dma-cells = <1>; 155 155 #dma-channels = <16>; ··· 168 168 reset-names = "hsdma"; 169 169 170 170 interrupt-parent = <&gic>; 171 - interrupts = <0 11 4>; 171 + interrupts = <0 11 IRQ_TYPE_LEVEL_HIGH>; 172 172 173 173 #dma-cells = <1>; 174 174 #dma-channels = <1>;