From: Philippe Langlais Date: Thu, 27 Jan 2011 13:35:37 +0000 (+0100) Subject: mach-ux500: fix inverted SD-card GPIO pin X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=7863513efc4b2829a9d3768b37fdcd46842ac8e6;p=linux-beck.git mach-ux500: fix inverted SD-card GPIO pin The levelshifter pins were set to inverted values, fix this up. Signed-off-by: Philippe Langlais Signed-off-by: Linus Walleij --- diff --git a/arch/arm/mach-ux500/board-mop500-sdi.c b/arch/arm/mach-ux500/board-mop500-sdi.c index 4b996676594e..4ba3d930a06e 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); }