diff options
-rw-r--r-- | sound/soc/s6000/s6000-pcm.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/soc/s6000/s6000-pcm.c b/sound/soc/s6000/s6000-pcm.c index d0740a762963..5cfaa5464eba 100644 --- a/sound/soc/s6000/s6000-pcm.c +++ b/sound/soc/s6000/s6000-pcm.c | |||
@@ -90,7 +90,8 @@ static void s6000_pcm_enqueue_dma(struct snd_pcm_substream *substream) | |||
90 | return; | 90 | return; |
91 | } | 91 | } |
92 | 92 | ||
93 | BUG_ON(period_size & 15); | 93 | if (WARN_ON(period_size & 15)) |
94 | return; | ||
94 | s6dmac_put_fifo(DMA_MASK_DMAC(channel), DMA_INDEX_CHNL(channel), | 95 | s6dmac_put_fifo(DMA_MASK_DMAC(channel), DMA_INDEX_CHNL(channel), |
95 | src, dst, period_size); | 96 | src, dst, period_size); |
96 | 97 | ||