diff options
author | Qiao Zhou <zhouqiao@marvell.com> | 2014-09-10 04:40:49 -0400 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2014-09-11 01:17:44 -0400 |
commit | a22e292260079e781b66380eccdf4566cc3c95ed (patch) | |
tree | 9a562853cd2b42a3eb84a621a75abaa17bb2e4d6 /sound | |
parent | e6222263124daae6be4b38b856af352667d95929 (diff) |
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>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/pxa/mmp-pcm.c | 3 |
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 { | |||
34 | SNDRV_PCM_INFO_MMAP_VALID | \ | 34 | SNDRV_PCM_INFO_MMAP_VALID | \ |
35 | SNDRV_PCM_INFO_INTERLEAVED | \ | 35 | SNDRV_PCM_INFO_INTERLEAVED | \ |
36 | SNDRV_PCM_INFO_PAUSE | \ | 36 | SNDRV_PCM_INFO_PAUSE | \ |
37 | SNDRV_PCM_INFO_RESUME) | 37 | SNDRV_PCM_INFO_RESUME | \ |
38 | SNDRV_PCM_INFO_NO_PERIOD_WAKEUP) | ||
38 | 39 | ||
39 | static struct snd_pcm_hardware mmp_pcm_hardware[] = { | 40 | static struct snd_pcm_hardware mmp_pcm_hardware[] = { |
40 | { | 41 | { |