diff options
author | Peter Ujfalusi <peter.ujfalusi@ti.com> | 2011-10-14 14:43:34 +0300 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-10-14 20:42:21 +0100 |
commit | 35dec697579459983e3471b622f57c18f6e9fd0a (patch) | |
tree | 696539cf7cbba913088b03e25a4c3269dd480d29 /sound/soc | |
parent | 1d69c5c5de32c355667c105a5fac85c8043128e6 (diff) | |
download | kernel_goldelico_gta04-35dec697579459983e3471b622f57c18f6e9fd0a.zip kernel_goldelico_gta04-35dec697579459983e3471b622f57c18f6e9fd0a.tar.gz kernel_goldelico_gta04-35dec697579459983e3471b622f57c18f6e9fd0a.tar.bz2 |
ASoC: twl6040: Request core to inline the DAPM sequence
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>
Diffstat (limited to 'sound/soc')
-rw-r--r-- | sound/soc/codecs/twl6040.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/codecs/twl6040.c b/sound/soc/codecs/twl6040.c index 6c573c3..73e11f0 100644 --- a/sound/soc/codecs/twl6040.c +++ b/sound/soc/codecs/twl6040.c @@ -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; |