ASoC: OMAP: reconfigure DMA to resume audio
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 3 lines · Jane Wang
Reconfigure DMA transfer parameters to resume audio after system comming out of OFF state.
Signed-off-by Jane Wang <[email protected]>
This looks OK to me but I'd like an ack from the OMAP folks. Adding Jarkko as well as he's the maintainer for OMAP audio.
Quoted 26 lines
--- sound/soc/omap/omap-pcm.c | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-)sound/soc/omap/omap-pcm.c +6
-1@@ -215,8 +215,13 @@ static int omap_pcm_trigger(struct snd_pcm_substream *substream, int cmd)spin_lock_irqsave (&prtd->lock, flags);switch (cmd) { -case SNDRV_PCM_TRIGGER_START :case SNDRV_PCM_TRIGGER_RESUME : +/* Reconfigure DMA transfer parameters +* in order to come back from OFF mode +*/ +omap_pcm_prepare (substream); +/* fall through */ +case SNDRV_PCM_TRIGGER_START :case SNDRV_PCM_TRIGGER_PAUSE_RELEASE : prtd->period_index =0 ;/* Configure McBSP internal buffer usage */ Signature · 1 line
1.5.4.3
Quoted 10 lines
-----Original Message-----
From: Mark Brown [mailto:[email protected]]
Sent: Friday, November 13, 2009 7:51 AM
To: Wang, Jane
Cc: [email protected]; [email protected]; [email protected]; Jarkko Nikula
Subject: Re: [PATCH 2/2] ASoC: OMAP: reconfigure DMA to resume audio
Quoted 9 lines
Quoted 1 line · Jane Wang
Reconfigure DMA transfer parameters to resume audio after system comming
out of OFF state.
Quoted 1 line
Signed-off-by Jane Wang <[email protected]>This looks OK to me but I'd like an ack from the OMAP folks. Adding Jarkko as well as he's the maintainer for OMAP audio.
Thanks. I think my original patch failed to post on the mailing list. I will resend the patch and cc Jarkko.