summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorQiao Zhou <zhouqiao@marvell.com>2014-09-10 16:40:49 +0800
committerVinod Koul <vinod.koul@intel.com>2014-09-11 10:47:44 +0530
commita22e292260079e781b66380eccdf4566cc3c95ed (patch)
tree9a562853cd2b42a3eb84a621a75abaa17bb2e4d6
parente6222263124daae6be4b38b856af352667d95929 (diff)
downloadlinux-a22e292260079e781b66380eccdf4566cc3c95ed.tar.gz
linux-a22e292260079e781b66380eccdf4566cc3c95ed.tar.bz2
linux-a22e292260079e781b66380eccdf4566cc3c95ed.zip
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 <zhouqiao@marvell.com> Acked-by: Mark Brown <broonie@linaro.org> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
-rw-r--r--sound/soc/pxa/mmp-pcm.c3
1 files changed, 2 insertions, 1 deletions
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[] = {
{