[alsa-devel] [PATCH 4/9] ASoC: sh: fsi: make sure fsi_stream_push/pop access by spin lock

Kuninori Morimoto kuninori.morimoto.gx at renesas.com
Wed May 25 02:32:20 CEST 2011


Dear Mark

> > fsi_stream_push/pop might be called in same time.
> > This patch protect it.
> > 
> > Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx at renesas.com>
> 
> This one looks like a bug fix which should be done in 2.6.40 also?  If
> that is the case could you please also provide a version of this patch
> against 2.6.40.

Thank you for pointing it.

Sorry. the order of patch series (and explain) was a little bit wrong.

My point was "snd_soc_dai_ops :: trigger" (which call fsi_stream_push/pop)
and "suspend/resume" (which call fsi_stream_is_working)
might be called in same time.
This patch was preparation of cleanup suspend/resume patch.

Best regards
--
Kuninori Morimoto
 


More information about the Alsa-devel mailing list