[Gta04-owner] 3.2-gta04 updated - improved CPUIDLE

Radek Polak psonek2 at seznam.cz
Tue Jan 31 08:18:45 CET 2012


On Monday 30 January 2012 20:58:09 NeilBrown wrote:

> I just noticed the following email on the linux-omap list.
> 
> It suggests that:
> 
> diff --git a/arch/arm/mach-omap2/board-omap3gta04.c
> b/arch/arm/mach-omap2/board-omap3gta04.c index 6e14d2c..082a0e2 100644
> --- a/arch/arm/mach-omap2/board-omap3gta04.c
> +++ b/arch/arm/mach-omap2/board-omap3gta04.c
> @@ -878,7 +878,7 @@ static int __init tsc2007_init(void)
>  			   "input\n", TS_PENIRQ_GPIO);
>  		return -ENXIO;
>  	}
> -	gpio_set_debounce(TS_PENIRQ_GPIO, (0x0a+1)*31);
> +//	gpio_set_debounce(TS_PENIRQ_GPIO, (0x0a+1)*31);
>  	irq_set_irq_type(OMAP_GPIO_IRQ(TS_PENIRQ_GPIO), IRQ_TYPE_EDGE_FALLING);
>  	return 0;
>  }
> 
> might fix this problem.  Or at least change it.
> 
> The debounce function requires a clock to be active, and the clock is
> currently being turned off in idle.
> 
> It's probably best to keep the clock off to save power.  I wonder how
> important the debounce is though....
> 
> (patch it totally untested).

Cool, it works, thanks a lot!

Radek


More information about the Gta04-owner mailing list