[PATCH 2/2] mach-ux500: fix inverted SD-card GPIO pin

Linus Walleij linus.walleij at stericsson.com
Fri Jan 28 02:58:25 EST 2011


From: Philippe Langlais <philippe.langlais at stericsson.com>

The levelshifter pins were set to inverted values, fix this up.

Signed-off-by: Philippe Langlais <philippe.langlais at stericsson.com>
Signed-off-by: Linus Walleij <linus.walleij at stericsson.com>
---
 arch/arm/mach-ux500/board-mop500-sdi.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/mach-ux500/board-mop500-sdi.c b/arch/arm/mach-ux500/board-mop500-sdi.c
index 4b99667..4ba3d93 100644
--- a/arch/arm/mach-ux500/board-mop500-sdi.c
+++ b/arch/arm/mach-ux500/board-mop500-sdi.c
@@ -106,8 +106,8 @@ void mop500_sdi_tc35892_init(void)
 	if (ret)
 		return;
 
-	gpio_direction_output(GPIO_SDMMC_1V8_3V_SEL, 1);
-	gpio_direction_output(GPIO_SDMMC_EN, 0);
+	gpio_direction_output(GPIO_SDMMC_1V8_3V_SEL, 0);
+	gpio_direction_output(GPIO_SDMMC_EN, 1);
 
 	db8500_add_sdi0(&mop500_sdi0_data);
 }
-- 
1.7.3.2




More information about the linux-arm-kernel mailing list