summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorTeresa Gámez <t.gamez@phytec.de>2012-10-18 13:35:30 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2012-10-21 10:39:43 +0200
commitf1ea7465b215020edbcfc1611db05d9968b8874c (patch)
tree9961727dc2b1a0e8cd3d68d0d50635f6d234e9de /arch
parent44003508719639b99c1724d27019f778ec0546b7 (diff)
downloadbarebox-f1ea7465b215020edbcfc1611db05d9968b8874c.tar.gz
barebox-f1ea7465b215020edbcfc1611db05d9968b8874c.tar.xz
ARM OMAP: Enable gpio output
Enable output instead of disabling it. Signed-off-by: Teresa Gámez <t.gamez@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-omap/omap4_generic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-omap/omap4_generic.c b/arch/arm/mach-omap/omap4_generic.c
index 76134f22d0..d7771bf543 100644
--- a/arch/arm/mach-omap/omap4_generic.c
+++ b/arch/arm/mach-omap/omap4_generic.c
@@ -532,7 +532,7 @@ noinline int omap4_scale_vcores(unsigned vsel0_pin)
writel(val, base + 0x190);
val = readl(base + 0x134);
- val &= (1 << (vsel0_pin & GPIO_MASK));
+ val &= ~(1 << (vsel0_pin & GPIO_MASK));
writel(val, base + 0x134);
val = 1 << (vsel0_pin & GPIO_MASK);