X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=sound%2Fpci%2Fatiixp.c;h=6faa173316f65b95820b83a211aa30a35e059f11;hb=4e53b9de24ecec036a8f6c8acae25e426a8bdab1;hp=15e4e5ee3881859d2910674256525e6da65496e6;hpb=fb14ca438c0a54306419ee648d9d146c5e7be679;p=pandora-kernel.git diff --git a/sound/pci/atiixp.c b/sound/pci/atiixp.c index 15e4e5ee3881..6faa173316f6 100644 --- a/sound/pci/atiixp.c +++ b/sound/pci/atiixp.c @@ -688,7 +688,9 @@ static void snd_atiixp_xrun_dma(struct atiixp *chip, struct atiixp_dma *dma) if (! dma->substream || ! dma->running) return; snd_printdd("atiixp: XRUN detected (DMA %d)\n", dma->ops->type); + snd_pcm_stream_lock(dma->substream); snd_pcm_stop(dma->substream, SNDRV_PCM_STATE_XRUN); + snd_pcm_stream_unlock(dma->substream); } /*