X-Git-Url: https://git.stricted.de/?a=blobdiff_plain;f=sound%2Fpci%2Fatiixp_modem.c;h=57f41820263f6203864d3558dd128c8a16fd5c17;hb=HEAD;hp=d0bec7ba3b0d8f3eb610807525e071ed53c4e220;hpb=e9cf59aeeea49ae84ffcf0e28699b46d705e85f0;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git diff --git a/sound/pci/atiixp_modem.c b/sound/pci/atiixp_modem.c index d0bec7ba3b0d..57f41820263f 100644 --- a/sound/pci/atiixp_modem.c +++ b/sound/pci/atiixp_modem.c @@ -638,7 +638,9 @@ static void snd_atiixp_xrun_dma(struct atiixp_modem *chip, if (! dma->substream || ! dma->running) return; snd_printdd("atiixp-modem: 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); } /*