[PATCH v16 10/12] OMAP: dmtimer: extend spinlock in request functions

2011-09-20 Thread Tarun Kanti DebBarma
The request functions now verify the success of omap_dm_timer_prepare() call after a timer is acquired. If *_prepare() fails then we have to release the timer. In order to avoid race condition during this time, include *_prepare() within lock. Signed-off-by: Tarun Kanti DebBarma Reviewed-by: Sant

Re: [PATCH v16 10/12] OMAP: dmtimer: extend spinlock in request functions

2011-09-21 Thread Tony Lindgren
* Tarun Kanti DebBarma [110920 03:57]: > The request functions now verify the success of omap_dm_timer_prepare() call > after a timer is acquired. If *_prepare() fails then we have to release the > timer. In order to avoid race condition during this time, include *_prepare() > within lock. This I

Re: [PATCH v16 10/12] OMAP: dmtimer: extend spinlock in request functions

2011-09-21 Thread DebBarma, Tarun Kanti
On Thu, Sep 22, 2011 at 6:12 AM, Tony Lindgren wrote: > * Tarun Kanti DebBarma [110920 03:57]: >> The request functions now verify the success of omap_dm_timer_prepare() call >> after a timer is acquired. If *_prepare() fails then we have to release the >> timer. In order to avoid race condition