mirror of
https://github.com/torvalds/linux.git
synced 2026-09-23 05:04:02 +02:00
arm64: tegra: Correct Tegra234 p3740 interrupt flags
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: 1. GPIO_ACTIVE_HIGH = 0 => IRQ_TYPE_NONE 2. GPIO_ACTIVE_LOW = 1 => IRQ_TYPE_EDGE_RISING Realtek RT5640 codec driver requests interrupt on rising edge, so correct the interrupt flags, assuming the author of the code wanted the similar logical behavior behind the name "ACTIVE_xxx", this is: ACTIVE_HIGH => IRQ_TYPE_EDGE_RISING Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com> Signed-off-by: Thierry Reding <treding@nvidia.com>
This commit is contained in:
parent
bf2d4b582e
commit
2aedc7afff
|
|
@ -75,7 +75,7 @@ rt5640: audio-codec@1c {
|
|||
compatible = "realtek,rt5640";
|
||||
reg = <0x1c>;
|
||||
interrupt-parent = <&gpio>;
|
||||
interrupts = <TEGRA234_MAIN_GPIO(F, 3) GPIO_ACTIVE_HIGH>;
|
||||
interrupts = <TEGRA234_MAIN_GPIO(F, 3) IRQ_TYPE_EDGE_RISING>;
|
||||
clocks = <&bpmp TEGRA234_CLK_AUD_MCLK>;
|
||||
clock-names = "mclk";
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user