Skip to content

Commit cfa12c3

Browse files
krzkmmind
authored andcommitted
arm64: dts: rockchip: correct wifi interrupt flag in Rock Pi 4B
GPIO_ACTIVE_x flags are not correct in the context of interrupt flags. These are simple defines so they could be used in DTS but they will not have the same meaning: GPIO_ACTIVE_HIGH = 0 = IRQ_TYPE_NONE. Correct the interrupt flags, assuming the author of the code wanted same logical behavior behind the name "ACTIVE_xxx", this is: ACTIVE_HIGH => IRQ_TYPE_LEVEL_HIGH Signed-off-by: Krzysztof Kozlowski <[email protected]> Tested-by: Christopher Obbard <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Heiko Stuebner <[email protected]>
1 parent 8183bb7 commit cfa12c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4b-plus.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
compatible = "brcm,bcm4329-fmac";
3232
reg = <1>;
3333
interrupt-parent = <&gpio0>;
34-
interrupts = <RK_PA3 GPIO_ACTIVE_HIGH>;
34+
interrupts = <RK_PA3 IRQ_TYPE_LEVEL_HIGH>;
3535
interrupt-names = "host-wake";
3636
pinctrl-names = "default";
3737
pinctrl-0 = <&wifi_host_wake_l>;

0 commit comments

Comments
 (0)