diff options
author | Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> | 2023-07-07 08:33:34 +0200 |
---|---|---|
committer | Heiko Stuebner <heiko@sntech.de> | 2023-07-10 15:39:53 +0200 |
commit | cfa12c32b96fd5b12f77d880d6a1ddd2a502756e (patch) | |
tree | 7c93fdb66ee13e0015c9ade5ed3ff755c0f57b2b /arch/arm64 | |
parent | 8183bb7e291b7818f49ea39687c2fafa01a46e27 (diff) | |
download | linux-stable-cfa12c32b96fd5b12f77d880d6a1ddd2a502756e.tar.gz linux-stable-cfa12c32b96fd5b12f77d880d6a1ddd2a502756e.tar.bz2 linux-stable-cfa12c32b96fd5b12f77d880d6a1ddd2a502756e.zip |
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 <krzysztof.kozlowski@linaro.org>
Tested-by: Christopher Obbard <chris.obbard@collabora.com>
Link: https://lore.kernel.org/r/20230707063335.13317-2-krzysztof.kozlowski@linaro.org
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Diffstat (limited to 'arch/arm64')
-rw-r--r-- | arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4b-plus.dts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4b-plus.dts b/arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4b-plus.dts index cec3b7b1b947..8a17c1eaae15 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4b-plus.dts +++ b/arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4b-plus.dts @@ -31,7 +31,7 @@ compatible = "brcm,bcm4329-fmac"; reg = <1>; interrupt-parent = <&gpio0>; - interrupts = <RK_PA3 GPIO_ACTIVE_HIGH>; + interrupts = <RK_PA3 IRQ_TYPE_LEVEL_HIGH>; interrupt-names = "host-wake"; pinctrl-names = "default"; pinctrl-0 = <&wifi_host_wake_l>; |