aboutsummaryrefslogtreecommitdiffstats
path: root/include/sound/soc.h
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2011-06-06 14:13:23 -0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-06-06 16:46:45 -0400
commitd4c6005f8e90da10067c35e1182f533582d01a69 (patch)
tree7025324b43925d0ddef4f2c0af6410020572bc06 /include/sound/soc.h
parent171ec6b0897422099438a9c66546380d0fa2ff44 (diff)
ASoC: Add context parameter to card DAPM callbacks
The card callback will get called for each DAPM context in the card so it can be useful for it to know which device is currently undergoing a transition. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Acked-by: Liam Girdwood <lrg@ti.com>
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 0f297006f5b2..f55efc1a63a2 100644
--- a/include/sound/soc.h
+++ b/include/sound/soc.h
@@ -726,8 +726,10 @@ struct snd_soc_card {
726 726
727 /* callbacks */ 727 /* callbacks */
728 int (*set_bias_level)(struct snd_soc_card *, 728 int (*set_bias_level)(struct snd_soc_card *,
729 struct snd_soc_dapm_context *dapm,
729 enum snd_soc_bias_level level); 730 enum snd_soc_bias_level level);
730 int (*set_bias_level_post)(struct snd_soc_card *, 731 int (*set_bias_level_post)(struct snd_soc_card *,
732 struct snd_soc_dapm_context *dapm,
731 enum snd_soc_bias_level level); 733 enum snd_soc_bias_level level);
732 734
733 long pmdown_time; 735 long pmdown_time;