Re: [PATCH 6/8] OMAP2+: hwmod: upgrade per-hwmod mutex to a spinlock

2010-12-14 Thread Paul Walmsley
Hi Kevin, BenoƮt, On Tue, 16 Nov 2010, Paul Walmsley wrote: Change the per-hwmod mutex to a spinlock. (The per-hwmod lock serializes most post-initialization hwmod operations such as enable, idle, and shutdown.) Spinlocks are needed, because in some cases, hwmods must be enabled from timer

[PATCH 6/8] OMAP2+: hwmod: upgrade per-hwmod mutex to a spinlock

2010-11-16 Thread Paul Walmsley
Change the per-hwmod mutex to a spinlock. (The per-hwmod lock serializes most post-initialization hwmod operations such as enable, idle, and shutdown.) Spinlocks are needed, because in some cases, hwmods must be enabled from timer interrupt disabled-context, such as an ISR. The current use-case