diff options
author | Mark Brown | 2013-08-15 11:37:38 +0100 |
---|---|---|
committer | Mark Brown | 2013-08-15 11:37:38 +0100 |
commit | 743c5bb898be45009770c144e5e14e4f448e56b9 (patch) | |
tree | 40fff57c975f89da4a90922c165595840e99093a /sound/arm | |
parent | 8fe120b5a665fc869c23f86e4964b801f6e53486 (diff) | |
parent | b7ae6f31d8243ec684af16bc5c763eccdfabaec0 (diff) |
Merge branch 'topic/dma' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into asoc-omap
Conflicts:
sound/soc/omap/Kconfig
Diffstat (limited to 'sound/arm')
-rw-r--r-- | sound/arm/pxa2xx-pcm-lib.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/arm/pxa2xx-pcm-lib.c b/sound/arm/pxa2xx-pcm-lib.c index 76e0d5695075..823359ed95e1 100644 --- a/sound/arm/pxa2xx-pcm-lib.c +++ b/sound/arm/pxa2xx-pcm-lib.c @@ -166,7 +166,9 @@ void pxa2xx_pcm_dma_irq(int dma_ch, void *dev_id) } else { printk(KERN_ERR "%s: DMA error on channel %d (DCSR=%#x)\n", rtd->params->name, dma_ch, dcsr); + snd_pcm_stream_lock(substream); snd_pcm_stop(substream, SNDRV_PCM_STATE_XRUN); + snd_pcm_stream_unlock(substream); } } EXPORT_SYMBOL(pxa2xx_pcm_dma_irq); |