From: Chen-Yu Tsai Date: Wed, 6 Jul 2016 09:10:44 +0000 (+0800) Subject: ARM: dts: sun7i: lamobo-r1: Fix GPIO flags in reg_ahci_5v X-Git-Tag: v4.8-rc1~66^2~2^2~17 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=f64cb7c724a677396866061a01dc85d38ac0c3b4;p=linux.git ARM: dts: sun7i: lamobo-r1: Fix GPIO flags in reg_ahci_5v reg_ahci_5v uses a GPIO in active high mode. Use the proper macro, instead of just 0 for the GPIO flags. Signed-off-by: Chen-Yu Tsai Signed-off-by: Maxime Ripard --- diff --git a/arch/arm/boot/dts/sun7i-a20-lamobo-r1.dts b/arch/arm/boot/dts/sun7i-a20-lamobo-r1.dts index 7307f07f82bd..c5126a9c35fc 100644 --- a/arch/arm/boot/dts/sun7i-a20-lamobo-r1.dts +++ b/arch/arm/boot/dts/sun7i-a20-lamobo-r1.dts @@ -249,7 +249,7 @@ led_pins_lamobo_r1: led_pins@0 { #include "axp209.dtsi" ®_ahci_5v { - gpio = <&pio 1 3 0>; /* PB3 */ + gpio = <&pio 1 3 GPIO_ACTIVE_HIGH>; /* PB3 */ status = "okay"; };