aboutsummaryrefslogtreecommitdiffstats
path: root/include/sound/soc.h
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2010-02-12 06:05:44 -0500
committerMark Brown <broonie@opensource.wolfsonmicro.com>2010-02-16 14:14:52 -0500
commit96dd362284ddcb546d2783035ae7eeda73692eda (patch)
tree441df60fa2d47cfb05d9e3ccc52d6a0282952e1d /include/sound/soc.h
parent3a66d3877eaa4ab9818000a15c07326adaa9ca79 (diff)
ASoC: Make pmdown_time a per-card setting
Make the pmdown_time a per-card setting rather than a global one, initialised before the card initialisation runs. This allows cards to override the default setting if it makes sense to do so (for example, due to an unavoidable pop). Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Diffstat (limited to 'include/sound/soc.h')
-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 e6a6d10de1d3..d9d88dd9720d 100644
--- a/include/sound/soc.h
+++ b/include/sound/soc.h
@@ -521,6 +521,8 @@ struct snd_soc_card {
521 int (*set_bias_level)(struct snd_soc_card *, 521 int (*set_bias_level)(struct snd_soc_card *,
522 enum snd_soc_bias_level level); 522 enum snd_soc_bias_level level);
523 523
524 int pmdown_time;
525
524 /* CPU <--> Codec DAI links */ 526 /* CPU <--> Codec DAI links */
525 struct snd_soc_dai_link *dai_link; 527 struct snd_soc_dai_link *dai_link;
526 int num_links; 528 int num_links;