Browse Source

mach-ux500: fix inverted SD-card GPIO pin

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

Signed-off-by: Philippe Langlais <philippe.langlais@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Philippe Langlais 14 years ago
parent
commit
7863513efc
1 changed files with 2 additions and 2 deletions
  1. 2 2
      arch/arm/mach-ux500/board-mop500-sdi.c

+ 2 - 2
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);
 }