X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=sound%2Fsoc%2Fs6000%2Fs6000-pcm.c;h=d0740a762963d867bf75cce29d20c15c0a4b5097;hb=61be2b9a18ec70f3cbe3deef7a5f77869c71b5ae;hp=1358c7de2521b7c296aaf2b031f78cf662523c96;hpb=5b3040a48bc9b916dc318bde33c9ebd98f00fbeb;p=pandora-kernel.git diff --git a/sound/soc/s6000/s6000-pcm.c b/sound/soc/s6000/s6000-pcm.c index 1358c7de2521..d0740a762963 100644 --- a/sound/soc/s6000/s6000-pcm.c +++ b/sound/soc/s6000/s6000-pcm.c @@ -128,7 +128,9 @@ static irqreturn_t s6000_pcm_irq(int irq, void *data) substream->runtime && snd_pcm_running(substream)) { dev_dbg(pcm->dev, "xrun\n"); + snd_pcm_stream_lock(substream); snd_pcm_stop(substream, SNDRV_PCM_STATE_XRUN); + snd_pcm_stream_unlock(substream); ret = IRQ_HANDLED; }