ASoC: mmp-pcm: add NO_PERIOD_WAKEUP for PCM INFO
authorQiao Zhou <zhouqiao@marvell.com>
Wed, 10 Sep 2014 08:40:49 +0000 (16:40 +0800)
committerVinod Koul <vinod.koul@intel.com>
Thu, 11 Sep 2014 05:17:44 +0000 (10:47 +0530)
add NO_PERIOD_WAKEUP to PCM INFO, which supports audio no IRQ mode

Signed-off-by: Qiao Zhou <zhouqiao@marvell.com>
Acked-by: Mark Brown <broonie@linaro.org>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
sound/soc/pxa/mmp-pcm.c

index 5e8d813301731f6b99a56228efafa81dfa78126e..64e8b949a1a3b10b1770dfcdda82e045235efeb4 100644 (file)
@@ -34,7 +34,8 @@ struct mmp_dma_data {
                SNDRV_PCM_INFO_MMAP_VALID |     \
                SNDRV_PCM_INFO_INTERLEAVED |    \
                SNDRV_PCM_INFO_PAUSE |          \
-               SNDRV_PCM_INFO_RESUME)
+               SNDRV_PCM_INFO_RESUME |         \
+               SNDRV_PCM_INFO_NO_PERIOD_WAKEUP)
 
 static struct snd_pcm_hardware mmp_pcm_hardware[] = {
        {