[PATCH 1/2] ARM: dts: imx28-apf28dev: fix user button polarity

Gwenhael Goavec-Merou gwenhael.goavec-merou at armadeus.com
Wed Mar 11 08:06:00 PDT 2015


Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou at armadeus.com>
---
 arch/arm/boot/dts/imx28-apf28dev.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/imx28-apf28dev.dts b/arch/arm/boot/dts/imx28-apf28dev.dts
index 81e5f75..1e72b0d 100644
--- a/arch/arm/boot/dts/imx28-apf28dev.dts
+++ b/arch/arm/boot/dts/imx28-apf28dev.dts
@@ -223,7 +223,7 @@
 
 		user-button {
 			label = "User button";
-			gpios = <&gpio0 17 0>;
+			gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
 			linux,code = <0x100>;
 		};
 	};
-- 
2.0.5




More information about the linux-arm-kernel mailing list