summaryrefslogtreecommitdiffstats
path: root/include/sound
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2012-02-08 13:20:50 +0000
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-02-09 10:42:56 +0000
commit5124e69e2b31f4ded7ed9ac47b18804b7847f677 (patch)
treece05bed47c03cd472dfe9c8679f7b8bd4466c8d9 /include/sound
parentb5d1d036eadb30996184cc335c798219dd5922a9 (diff)
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 'include/sound')
-rw-r--r--include/sound/soc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sound/soc.h b/include/sound/soc.h
index 9348bed86b1..4f67e01f0e2 100644
--- a/include/sound/soc.h
+++ b/include/sound/soc.h
@@ -643,6 +643,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;