summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-ux500
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/arm/mach-ux500
parentfbdc6d11ae0594fb03f4c5556cbb8ff46e1971e3 (diff)
downloadop-kernel-dev-7863513efc4b2829a9d3768b37fdcd46842ac8e6.zip
op-kernel-dev-7863513efc4b2829a9d3768b37fdcd46842ac8e6.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@linaro.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'arch/arm/mach-ux500')
-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 4b99667..4ba3d93 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