[alsa-devel] [PATCH] OMAP: McBSP: Do not use extensive spin locks for dma_op_mode
peter.ujfalusi at nokia.com
Tue Oct 27 12:17:52 CET 2009
On Tuesday 27 October 2009 13:07:23 Nurkkala Eero.An (EXT-Offcode/Oulu) wrote:
> On Tue, 2009-10-27 at 12:00 +0100, Ujfalusi Peter (Nokia-D/Tampere)
> > The use of the spin lock, which supposed to protect the the
> > dma_op_mode causing "INFO: inconsistent lock state" on
> > playback start.
> > Remove the spin locks around the dma_op_mode, when it's
> > purpuse is to protect the dma_op_mode.
> > Signed-off-by: Peter Ujfalusi <peter.ujfalusi at nokia.com>
> > ---
> 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.
More information about the Alsa-devel