Skip to content

Commit

Permalink
ASoC: twl6040: Request core to inline the DAPM sequence
Browse files Browse the repository at this point in the history
We need to have as less time between McPDM shutdown,
and power down of the DAC on the twl6040 codec as possible.
Request core to ignore the pmdown_time for the 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.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
  • Loading branch information
Peter Ujfalusi authored and Mark Brown committed Oct 14, 2011
1 parent 1d69c5c commit 35dec69
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sound/soc/codecs/twl6040.c
Original file line number Diff line number Diff line change
Expand Up @@ -1504,6 +1504,7 @@ static int twl6040_probe(struct snd_soc_codec *codec)

priv->codec = codec;
codec->control_data = dev_get_drvdata(codec->dev->parent);
codec->ignore_pmdown_time = 1;

if (pdata && pdata->hs_left_step && pdata->hs_right_step) {
priv->hs_left_step = pdata->hs_left_step;
Expand Down

0 comments on commit 35dec69

Please sign in to comment.