* [PATCH] ARM OMAP: Enable gpio output
@ 2012-10-18 11:35 Teresa Gámez
2012-10-21 8:39 ` Sascha Hauer
0 siblings, 1 reply; 2+ messages in thread
From: Teresa Gámez @ 2012-10-18 11:35 UTC (permalink / raw)
To: barebox
Enable output instead of disabling it.
Signed-off-by: Teresa Gámez <t.gamez@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
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] ARM OMAP: Enable gpio output
2012-10-18 11:35 [PATCH] ARM OMAP: Enable gpio output Teresa Gámez
@ 2012-10-21 8:39 ` Sascha Hauer
0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2012-10-21 8:39 UTC (permalink / raw)
To: Teresa Gámez; +Cc: barebox
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@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@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 |
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-10-21 8:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-18 11:35 [PATCH] ARM OMAP: Enable gpio output Teresa Gámez
2012-10-21 8:39 ` Sascha Hauer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox