ASoC: sh: fsi: make sure fsi_stream_push/pop access by spin lock
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Mon, 23 May 2011 11:46:13 +0000 (20:46 +0900)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 24 May 2011 10:41:52 +0000 (18:41 +0800)
commit2da658927c9e28425ecb6b6a7a03094a012e8620
treefef2c99cdea0c8678681560dac33265c9302f75b
parent9478e0b60fb4a7adde72d4a86b826d396b607a61
ASoC: sh: fsi: make sure fsi_stream_push/pop access by spin lock

fsi_stream_push/pop might be called in same time.
This patch protect it.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Acked-by: Liam Girdwood <lrg@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/sh/fsi.c