aboutsummaryrefslogtreecommitdiffstats
path: root/include/sound
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2010-12-04 07:41:04 -0500
committerMark Brown <broonie@opensource.wolfsonmicro.com>2010-12-06 07:41:30 -0500
commit1badabd980da3bc09933c14970017067940ecd57 (patch)
tree09a22fa6f11aa2445dbc0ee9c2e0f1c7347caf92 /include/sound
parent28216bf48bbe4314a7a02b7c9822dbb26aca530c (diff)
ASoC: Add post-CODEC bias level callback for machine driver
Currently the machine driver can only do bias level configuration before the CODEC bias level is brought up. This means that the machine cannot do any configuration which depends on the CODEC bias level being maintained. Provide a post-CODEC callback which allows the machine driver to do things like enable the FLL on a CODEC which is brought down to BIAS_OFF when idle. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
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 0eea08e1bdd5..4abc2f8fe77a 100644
--- a/include/sound/soc.h
+++ b/include/sound/soc.h
@@ -632,6 +632,8 @@ struct snd_soc_card {
632 /* callbacks */ 632 /* callbacks */
633 int (*set_bias_level)(struct snd_soc_card *, 633 int (*set_bias_level)(struct snd_soc_card *,
634 enum snd_soc_bias_level level); 634 enum snd_soc_bias_level level);
635 int (*set_bias_level_post)(struct snd_soc_card *,
636 enum snd_soc_bias_level level);
635 637
636 long pmdown_time; 638 long pmdown_time;
637 639