aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilippe Langlais <philippe.langlais@stericsson.com>2011-01-27 14:35:37 +0100
committerNicolas Pitre <nicolas.pitre@linaro.org>2011-02-21 23:10:32 -0500
commite4907eff28231e3b437c981957c7175617ba73a4 (patch)
treedbccac8cc896f4cc2e2501b2bb044daf3ea509c2
parent0d5bc4dc602c156539287e8c2fe3a439c722f60d (diff)
downloadlinux-linaro-e4907eff28231e3b437c981957c7175617ba73a4.tar.gz
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@stericsson.com> Signed-off-by: Linus Walleij <linus.walleij@stericsson.com> (cherry picked from commit a7abcd3e4dc34e31a8981494c0a83ef9bd2b9934)
-rw-r--r--arch/arm/mach-ux500/board-mop500-sdi.c4
1 files 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 4b996676594..4ba3d930a06 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);
}