[PATCH] ARM OMAP: Enable gpio output
Teresa Gámez
t.gamez at phytec.de
Thu Oct 18 07:35:30 EDT 2012
Enable output instead of disabling it.
Signed-off-by: Teresa Gámez <t.gamez at phytec.de>
---
arch/arm/mach-omap/omap4_generic.c | 2 +-
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 76134f2..d7771bf 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);
--
1.7.0.4
More information about the barebox
mailing list