Re: [PATCH] OMAP: McBSP: Do not use extensive spin locks for dma_op_mode

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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)
> 
> wrote:
> > 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@xxxxxxxxx>
> > ---
> 
> 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.


-- 
Péter
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel


[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux