Re: [PATCH v16 05/12] OMAP: dmtimer: switch-over to platform device driver

2011-09-21 Thread DebBarma, Tarun Kanti
[...] >> >>       /* Ack possibly pending interrupt */ > > I've left out this is_omap2 change as it really does not improve anything. > Instead it just makes __omap_dm_timer_stop inline function more complex. Agreed. > > I've also folded in the spinlock fixes in patch 10 into this patch. Ok, thank

Re: [PATCH v16 05/12] OMAP: dmtimer: switch-over to platform device driver

2011-09-21 Thread Tony Lindgren
* Tarun Kanti DebBarma [110920 03:57]: > @@ -347,15 +346,16 @@ static inline void __omap_dm_timer_stop(struct > omap_dm_timer *timer, > if (l & OMAP_TIMER_CTRL_ST) { > l &= ~0x1; > __omap_dm_timer_write(timer, OMAP_TIMER_CTRL_REG, l, posted); > -#ifdef CONFIG_ARC

[PATCH v16 05/12] OMAP: dmtimer: switch-over to platform device driver

2011-09-20 Thread Tarun Kanti DebBarma
Register timer devices by going through hwmod database using hwmod API. The driver probes each of the registered devices. Functionality which are already performed by hwmod framework are removed from timer code. New set of timers present on OMAP4 are now supported. Signed-off-by: Tarun Kanti DebBa