summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorPhilippe Langlais <philippe.langlais@linaro.org>2011-01-27 14:35:37 +0100
committerLinus Walleij <linus.walleij@linaro.org>2011-03-14 14:05:11 +0100
commit7863513efc4b2829a9d3768b37fdcd46842ac8e6 (patch)
tree4df24d5d367b7c82fe7c56872d696e2e8ebf3b7d /arch
parentfbdc6d11ae0594fb03f4c5556cbb8ff46e1971e3 (diff)
downloadblackbird-op-linux-7863513efc4b2829a9d3768b37fdcd46842ac8e6.tar.gz
blackbird-op-linux-7863513efc4b2829a9d3768b37fdcd46842ac8e6.zip
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@linaro.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'arch')
-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 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);
}
OpenPOWER on IntegriCloud