Re: [PATCH 1/1] omap: dmtimers: Fix locking issue in omap_dm_timer_request*()

2012-08-13 Thread Tony Lindgren
* Timo Kokkonen timo.t.kokko...@iki.fi [120812 03:46]: Calling omap_dm_timer_prepare while the spinlock is held is not allowed as sleeping functions are called later on during the preparation (namely within clk_get()). dm_timer_lock is only required for protecting the omap_timer_list. After

[PATCH 1/1] omap: dmtimers: Fix locking issue in omap_dm_timer_request*()

2012-08-12 Thread Timo Kokkonen
Calling omap_dm_timer_prepare while the spinlock is held is not allowed as sleeping functions are called later on during the preparation (namely within clk_get()). dm_timer_lock is only required for protecting the omap_timer_list. After the timer is marked as reserved, the lock is no longer