[alsa-devel] [RFC 2/2] ASoC: sdp4430: Request core to inline the DAPM sequence

Peter Ujfalusi peter.ujfalusi at ti.com
Thu Oct 13 15:23:35 CEST 2011

We need to have as less time between OMAP McPDM shutdown,
and power down of the DAC on the twl6040 codec as possible.
Request core to ignore the pmdown_time for the playback
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.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi at ti.com>
 sound/soc/omap/sdp4430.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/sound/soc/omap/sdp4430.c b/sound/soc/omap/sdp4430.c
index cc3d792..e2f93e8 100644
--- a/sound/soc/omap/sdp4430.c
+++ b/sound/soc/omap/sdp4430.c
@@ -155,6 +155,7 @@ static struct snd_soc_dai_link sdp4430_dai = {
 	.codec_dai_name = "twl6040-legacy",
 	.platform_name = "omap-pcm-audio",
 	.codec_name = "twl6040-codec",
+	.ignore_pmdown_time = 1,
 	.init = sdp4430_twl6040_init,
 	.ops = &sdp4430_ops,

More information about the Alsa-devel mailing list