From: Javier Martinez Canillas Date: Tue, 6 Oct 2015 09:22:59 +0000 (+0200) Subject: ARM: dts: omap3-lilly-a83x: Don't use IRQ level flag for a GPIO X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=e5c914fffd9f70d5f112e0a7e30edab7de78f88b;p=openwrt%2Fstaging%2Fblogic.git ARM: dts: omap3-lilly-a83x: Don't use IRQ level flag for a GPIO The card detect GPIO is using IRQ_TYPE_LEVEL_LOW in the GPIO flag cells but this defined constant is meant to be used for a IRQ and not a GPIO. So instead use GPIO_ACTIVE_LOW that seems to be the original intention. Signed-off-by: Javier Martinez Canillas Signed-off-by: Tony Lindgren --- diff --git a/arch/arm/boot/dts/omap3-lilly-a83x.dtsi b/arch/arm/boot/dts/omap3-lilly-a83x.dtsi index 46f88f86a50b..57d7c93cc72b 100644 --- a/arch/arm/boot/dts/omap3-lilly-a83x.dtsi +++ b/arch/arm/boot/dts/omap3-lilly-a83x.dtsi @@ -284,7 +284,7 @@ }; &mmc1 { - cd-gpios = <&gpio4 30 IRQ_TYPE_LEVEL_LOW>; + cd-gpios = <&gpio4 30 GPIO_ACTIVE_LOW>; cd-inverted; vmmc-supply = <&vmmc1>; bus-width = <4>;