From 7863513efc4b2829a9d3768b37fdcd46842ac8e6 Mon Sep 17 00:00:00 2001 From: Philippe Langlais Date: Thu, 27 Jan 2011 14:35:37 +0100 Subject: [PATCH] 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 --- arch/arm/mach-ux500/board-mop500-sdi.c | 4 ++-- 1 file 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 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); } -- 2.39.5