mach-ux500: fix inverted SD-card GPIO pin
authorPhilippe Langlais <philippe.langlais@linaro.org>
Thu, 27 Jan 2011 13:35:37 +0000 (14:35 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 14 Mar 2011 13:05:11 +0000 (14:05 +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 4b996676594e588150a889d4760a6171492d7844..4ba3d930a06ef2561b6d7176bf040c2b7f293fd8 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);
 }