diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-02-08 14:20:50 +0100 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-02-09 11:42:56 +0100 |
commit | 5124e69e2b31f4ded7ed9ac47b18804b7847f677 (patch) | |
tree | ce05bed47c03cd472dfe9c8679f7b8bd4466c8d9 /sound/soc | |
parent | ASoC: pcm: If pmdown_time is zero then shut down DAPM immediately (diff) | |
download | linux-5124e69e2b31f4ded7ed9ac47b18804b7847f677.tar.xz linux-5124e69e2b31f4ded7ed9ac47b18804b7847f677.zip |
ASoC: core: Allow CODECs to set ignore_pmdown_time in the driver struct
This is usually not a use case dependant flag anyway.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Liam Girdwood <lrg@ti.com>
Diffstat (limited to 'sound/soc')
-rw-r--r-- | sound/soc/soc-core.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c index a3a47cdaac8f..32dbcda5cb22 100644 --- a/sound/soc/soc-core.c +++ b/sound/soc/soc-core.c @@ -3312,6 +3312,7 @@ int snd_soc_register_codec(struct device *dev, codec->volatile_register = codec_drv->volatile_register; codec->readable_register = codec_drv->readable_register; codec->writable_register = codec_drv->writable_register; + codec->ignore_pmdown_time = codec_drv->ignore_pmdown_time; codec->dapm.bias_level = SND_SOC_BIAS_OFF; codec->dapm.dev = dev; codec->dapm.codec = codec; |