Skip to content

Commit 2d6f7e3

Browse files
krzkmmind
authored andcommitted
arm64: dts: rockchip: correct wifi interrupt flag in Box Demo
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]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Heiko Stuebner <[email protected]>
1 parent cfa12c3 commit 2d6f7e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/arm64/boot/dts/rockchip/rk3566-box-demo.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,7 @@
416416
compatible = "brcm,bcm4329-fmac";
417417
reg = <1>;
418418
interrupt-parent = <&gpio2>;
419-
interrupts = <RK_PB2 GPIO_ACTIVE_HIGH>;
419+
interrupts = <RK_PB2 IRQ_TYPE_LEVEL_HIGH>;
420420
interrupt-names = "host-wake";
421421
pinctrl-names = "default";
422422
pinctrl-0 = <&wifi_host_wake_h>;

0 commit comments

Comments
 (0)