On Wed, 2012-02-08 at 18:37 +0000, Mark Brown wrote:
This is usually not a use case dependant flag anyway.
Signed-off-by: Mark Brown broonie@opensource.wolfsonmicro.com
include/sound/soc.h | 2 ++ sound/soc/soc-core.c | 1 + 2 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/include/sound/soc.h b/include/sound/soc.h index ecd5d72..d1e7a6a 100644 --- a/include/sound/soc.h +++ b/include/sound/soc.h @@ -657,6 +657,8 @@ struct snd_soc_codec_driver { /* codec stream completion event */ int (*stream_event)(struct snd_soc_dapm_context *dapm, int event);
- bool ignore_pmdown_time; /* Doesn't benefit from pmdown delay */
- /* probe ordering - for components with runtime dependencies */ int probe_order; int remove_order;
diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c index 3a3b487..0b9974f 100644 --- a/sound/soc/soc-core.c +++ b/sound/soc/soc-core.c @@ -3380,6 +3380,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;
All
Acked-by: Liam Girdwood lrg@ti.com