From: Qiao Zhou Date: Wed, 10 Sep 2014 08:40:49 +0000 (+0800) Subject: ASoC: mmp-pcm: add NO_PERIOD_WAKEUP for PCM INFO X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=a22e292260079e781b66380eccdf4566cc3c95ed;p=openwrt%2Fstaging%2Fblogic.git ASoC: mmp-pcm: add NO_PERIOD_WAKEUP for PCM INFO add NO_PERIOD_WAKEUP to PCM INFO, which supports audio no IRQ mode Signed-off-by: Qiao Zhou Acked-by: Mark Brown Signed-off-by: Vinod Koul --- diff --git a/sound/soc/pxa/mmp-pcm.c b/sound/soc/pxa/mmp-pcm.c index 5e8d81330173..64e8b949a1a3 100644 --- a/sound/soc/pxa/mmp-pcm.c +++ b/sound/soc/pxa/mmp-pcm.c @@ -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[] = { {