aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sound/soc/atmel/atmel-pcm-dma.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/atmel/atmel-pcm-dma.c b/sound/soc/atmel/atmel-pcm-dma.c
index 1d38fd0bc4e2..d12826526798 100644
--- a/sound/soc/atmel/atmel-pcm-dma.c
+++ b/sound/soc/atmel/atmel-pcm-dma.c
@@ -81,7 +81,9 @@ static void atmel_pcm_dma_irq(u32 ssc_sr,
81 81
82 /* stop RX and capture: will be enabled again at restart */ 82 /* stop RX and capture: will be enabled again at restart */
83 ssc_writex(prtd->ssc->regs, SSC_CR, prtd->mask->ssc_disable); 83 ssc_writex(prtd->ssc->regs, SSC_CR, prtd->mask->ssc_disable);
84 snd_pcm_stream_lock(substream);
84 snd_pcm_stop(substream, SNDRV_PCM_STATE_XRUN); 85 snd_pcm_stop(substream, SNDRV_PCM_STATE_XRUN);
86 snd_pcm_stream_unlock(substream);
85 87
86 /* now drain RHR and read status to remove xrun condition */ 88 /* now drain RHR and read status to remove xrun condition */
87 ssc_readx(prtd->ssc->regs, SSC_RHR); 89 ssc_readx(prtd->ssc->regs, SSC_RHR);