mirror of https://gitee.com/openkylin/linux.git
ARM: tegra: nyan: Use proper IRQ type definitions
This switches a few interrupt definitions that were using GPIO_ACTIVE_HIGH as IRQ type, which is invalid. This is mostly a cosmetic change, that doesn't affect any driver. Signed-off-by: Paul Kocialkowski <contact@paulk.fr> Signed-off-by: Thierry Reding <treding@nvidia.com>
This commit is contained in:
parent
a3e4863ea9
commit
38333641b6
|
@ -65,7 +65,7 @@ acodec: audio-codec@10 {
|
|||
compatible = "maxim,max98090";
|
||||
reg = <0x10>;
|
||||
interrupt-parent = <&gpio>;
|
||||
interrupts = <TEGRA_GPIO(H, 4) GPIO_ACTIVE_HIGH>;
|
||||
interrupts = <TEGRA_GPIO(H, 4) IRQ_TYPE_EDGE_FALLING>;
|
||||
};
|
||||
|
||||
temperature-sensor@4c {
|
||||
|
@ -331,7 +331,7 @@ charger: bq24735@9 {
|
|||
reg = <0x9>;
|
||||
interrupt-parent = <&gpio>;
|
||||
interrupts = <TEGRA_GPIO(J, 0)
|
||||
GPIO_ACTIVE_HIGH>;
|
||||
IRQ_TYPE_EDGE_BOTH>;
|
||||
ti,ac-detect-gpios = <&gpio
|
||||
TEGRA_GPIO(J, 0)
|
||||
GPIO_ACTIVE_HIGH>;
|
||||
|
|
Loading…
Reference in New Issue