[PATCH] ARM OMAP: Enable gpio output
Sascha Hauer
s.hauer at pengutronix.de
Sun Oct 21 04:39:56 EDT 2012
On Thu, Oct 18, 2012 at 01:35:30PM +0200, Teresa Gámez wrote:
> Enable output instead of disabling it.
>
> Signed-off-by: Teresa Gámez <t.gamez at phytec.de>
Applied, thanks
Sascha
> ---
> 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
>
>
> _______________________________________________
> barebox mailing list
> barebox at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
More information about the barebox
mailing list