Re: Problem in omap_pm_idle()

Tony Lindgren
2007-09-18T16:58:32Z

* Vivek Kutal <vivek.kutal@celunite.com> [070918 07:22]:
> Hi ,
> I was looking at omap_pm_idle() in omap1/pm.c , at the end there is a
> call to omap_sram_suspend , shouldn't it be omap_sram_idle() ?
> and if CONFIG_OMAP_MPU_TIMER is set it sets use_idlect1 =
> use_idlect1 & ~(1 << 9) , but it does not go into wait for interrupt.
> Can anyone please explain this ?

Omaps can do sleep-while-idle, so it is correct. Doing omap_sram_idle()
would just keep it in wait for interrupt state.

Regards,

Tony