Re: [PATCH 04/17] OMAP3: PM: Do not enable IO wake-up on boot

Kevin Hilman
2009-10-20T17:21:12Z

Tero Kristo <tero.kristo@nokia.com> writes:

> From: Jouni Hogander <jouni.hogander@nokia.com>
>
> IO wake-ups are enabled/disabled in idle loop. No need to enable them on boot.
>
> Signed-off-by: Jouni Hogander <jouni.hogander@nokia.com>

Thanks, pulling into PM branch.

Kevin

> ---
> arch/arm/mach-omap2/pm34xx.c | 5 ++---
> 1 files changed, 2 insertions(+), 3 deletions(-)
>
> diff --git a/arch/arm/mach-omap2/pm34xx.c b/arch/arm/mach-omap2/pm34xx.c
> index 52a3f2b..4addc41 100644
> --- a/arch/arm/mach-omap2/pm34xx.c
> +++ b/arch/arm/mach-omap2/pm34xx.c
> @@ -1027,9 +1027,8 @@ static void __init prcm_setup_regs(void)
> OMAP3_PRM_CLKSRC_CTRL_OFFSET);
>
> /* setup wakup source */
> - prm_write_mod_reg(OMAP3430_EN_IO | OMAP3430_EN_GPIO1 |
> - OMAP3430_EN_GPT1 | OMAP3430_EN_GPT12,
> - WKUP_MOD, PM_WKEN);
> + prm_write_mod_reg(OMAP3430_EN_GPIO1 | OMAP3430_EN_GPT1 |
> + OMAP3430_EN_GPT12, WKUP_MOD, PM_WKEN);
> /* No need to write EN_IO, that is always enabled */
> prm_write_mod_reg(OMAP3430_EN_GPIO1 | OMAP3430_EN_GPT1 |
> OMAP3430_EN_GPT12,
> --
> 1.5.4.3
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-omap" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html