[alsa-devel] [PATCH] OMAP: McBSP: Do not use extensive spin locks for dma_op_mode

Mark Brown broonie at opensource.wolfsonmicro.com
Tue Oct 27 13:00:09 CET 2009

On Tue, Oct 27, 2009 at 01:17:52PM +0200, Peter Ujfalusi wrote:
> On Tuesday 27 October 2009 13:07:23 Nurkkala Eero.An (EXT-Offcode/Oulu) wrote:

> > You may wish to double read the message above, as it's quite
> > confusing =)

> Yes it is ;)
> I have left one spinlock around the dma_op_mode, when it also protects the 
> mcbsp->active, so that is why that last sentence.

I have to confess that I'm still not entirely clear what the lock is
supposed to be doing or why it's OK to drop it.  I gather that it's just
that dmap_on_mode() doesn't need a lock at all?

More information about the Alsa-devel mailing list