diff mbox

[2/2] ASoC: mmp-pcm: add NO_PERIOD_WAKEUP for PCM INFO

Message ID 1410338449-13961-2-git-send-email-zhouqiao@marvell.com (mailing list archive)
State Accepted
Headers show

Commit Message

Qiao Zhou Sept. 10, 2014, 8:40 a.m. UTC
add NO_PERIOD_WAKEUP to PCM INFO, which supports audio no IRQ mode

Signed-off-by: Qiao Zhou <zhouqiao@marvell.com>
---
 sound/soc/pxa/mmp-pcm.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

Comments

Mark Brown Sept. 10, 2014, 9:41 a.m. UTC | #1
On Wed, Sep 10, 2014 at 04:40:49PM +0800, Qiao Zhou wrote:
> add NO_PERIOD_WAKEUP to PCM INFO, which supports audio no IRQ mode

Acked-by: Mark Brown <broonie@linaro.org>
Vinod Koul Sept. 11, 2014, 5:19 a.m. UTC | #2
On Wed, Sep 10, 2014 at 04:40:49PM +0800, Qiao Zhou wrote:
> add NO_PERIOD_WAKEUP to PCM INFO, which supports audio no IRQ mode

Applied, thanks
diff mbox

Patch

diff --git a/sound/soc/pxa/mmp-pcm.c b/sound/soc/pxa/mmp-pcm.c
index 5e8d813..64e8b94 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[] = {
 	{