alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] ASoC: core: Ignoring pmdown_time for playback stream power down
@ 2011-10-14 11:43 Peter Ujfalusi
  2011-10-14 11:43 ` [PATCH v2 1/2] ASoC: core: Add flag to ignore pmdown_time at pcm_close Peter Ujfalusi
                   ` (2 more replies)
  0 siblings, 3 replies; 18+ messages in thread
From: Peter Ujfalusi @ 2011-10-14 11:43 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood; +Cc: alsa-devel, Misael Lopez Cruz

Hello Mark,

Changes since v1 (RFC):
- move the flag to per codec (snd_soc_codec)
- twl6040 to request to ignore the pmdown_time

Add support in core to ignore the pmdown_time when stopping the playback stream.
This will inline the DAPM stream stop event, so it is going to be executed
without delay at stream close time (for playback stream).

Backround: with the McPDM protocol we are sendning not only
the pure audio stream, but OMAP McPDM also transmits
additional information (for example offset cancellation).
If McPDM is stopped prior to the DAC this information will
be not sent to the codec, which can result noise rendered
by the twl6040 codec.

Regards,
Peter
---
Peter Ujfalusi (2):
  ASoC: core: Add flag to ignore pmdown_time at pcm_close
  ASoC: twl6040: Request core to inline the DAPM sequence

 include/sound/soc.h        |    1 +
 sound/soc/codecs/twl6040.c |    1 +
 sound/soc/soc-pcm.c        |   15 +++++++++++----
 3 files changed, 13 insertions(+), 4 deletions(-)

-- 
1.7.7

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2011-10-24  3:04 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-14 11:43 [PATCH v2 0/2] ASoC: core: Ignoring pmdown_time for playback stream power down Peter Ujfalusi
2011-10-14 11:43 ` [PATCH v2 1/2] ASoC: core: Add flag to ignore pmdown_time at pcm_close Peter Ujfalusi
2011-10-21  6:12   ` Babu, Ramesh
2011-10-21  8:53     ` Mark Brown
2011-10-21  9:10       ` Babu, Ramesh
2011-10-21  9:13         ` Mark Brown
2011-10-21 10:58           ` Babu, Ramesh
2011-10-21 11:26             ` Vinod Koul
2011-10-21 17:01             ` Nallasellan, Singaravelan
2011-10-21 19:41               ` Mark Brown
2011-10-21 20:24                 ` Nallasellan, Singaravelan
2011-10-22  9:33                   ` Mark Brown
2011-10-22  9:45             ` Mark Brown
2011-10-22 17:17               ` Vinod Koul
2011-10-23 14:00                 ` Mark Brown
2011-10-24  2:55                   ` Vinod Koul
2011-10-14 11:43 ` [PATCH v2 2/2] ASoC: twl6040: Request core to inline the DAPM sequence Peter Ujfalusi
2011-10-14 19:44 ` [PATCH v2 0/2] ASoC: core: Ignoring pmdown_time for playback stream power down Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).