diff options
| author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-07-24 15:59:29 -0400 |
|---|---|---|
| committer | Paolo Pisati <paolo.pisati@canonical.com> | 2012-08-17 04:18:15 -0400 |
| commit | 9be1934df187eceb2d3609605255e8bc53c6e114 (patch) | |
| tree | 41b1047c0b52ae1f6009fe4fe989c279ce50cf8a /include | |
| parent | 4eaa180f7d4b517c5ac5f82c7ec5b29337ab5f51 (diff) | |
Subject: [PATCH 016/104] 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')
| -rw-r--r-- | include/sound/soc.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sound/soc.h b/include/sound/soc.h index b50d640df36..88c76e995ff 100644 --- a/include/sound/soc.h +++ b/include/sound/soc.h | |||
| @@ -725,8 +725,10 @@ struct snd_soc_card { | |||
| 725 | 725 | ||
| 726 | /* callbacks */ | 726 | /* callbacks */ |
| 727 | int (*set_bias_level)(struct snd_soc_card *, | 727 | int (*set_bias_level)(struct snd_soc_card *, |
| 728 | struct snd_soc_dapm_context *dapm, | ||
| 728 | enum snd_soc_bias_level level); | 729 | enum snd_soc_bias_level level); |
| 729 | int (*set_bias_level_post)(struct snd_soc_card *, | 730 | int (*set_bias_level_post)(struct snd_soc_card *, |
| 731 | struct snd_soc_dapm_context *dapm, | ||
| 730 | enum snd_soc_bias_level level); | 732 | enum snd_soc_bias_level level); |
| 731 | 733 | ||
| 732 | long pmdown_time; | 734 | long pmdown_time; |
