mach-ux500: fix inverted SD-card GPIO pin
Philippe Langlais [Thu, 27 Jan 2011 13:35:37 +0000 (14:35 +0100)]
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>

arch/arm/mach-ux500/board-mop500-sdi.c

index 4b99667..4ba3d93 100644 (file)
@@ -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);
 }