ARM: dts: omap3-lilly-a83x: Don't use IRQ level flag for a GPIO
authorJavier Martinez Canillas <javier@osg.samsung.com>
Tue, 6 Oct 2015 09:22:59 +0000 (11:22 +0200)
committerTony Lindgren <tony@atomide.com>
Mon, 12 Oct 2015 23:41:41 +0000 (16:41 -0700)
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 <javier@osg.samsung.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/omap3-lilly-a83x.dtsi

index 46f88f86a50bcea3505532d0f1451166490b63d0..57d7c93cc72bd750fdffc2d4c27a01591b6c5dae 100644 (file)
 };
 
 &mmc1 {
-       cd-gpios = <&gpio4 30 IRQ_TYPE_LEVEL_LOW>;
+       cd-gpios = <&gpio4 30 GPIO_ACTIVE_LOW>;
        cd-inverted;
        vmmc-supply = <&vmmc1>;
        bus-width = <4>;