diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-06-06 20:13:23 +0200 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-06-06 22:46:45 +0200 |
commit | d4c6005f8e90da10067c35e1182f533582d01a69 (patch) | |
tree | 7025324b43925d0ddef4f2c0af6410020572bc06 /sound/soc/omap/ams-delta.c | |
parent | ASoC: Simplify logic in snd_soc_dapm_set_bias_level() (diff) | |
download | linux-d4c6005f8e90da10067c35e1182f533582d01a69.tar.xz linux-d4c6005f8e90da10067c35e1182f533582d01a69.zip |
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 'sound/soc/omap/ams-delta.c')
-rw-r--r-- | sound/soc/omap/ams-delta.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/soc/omap/ams-delta.c b/sound/soc/omap/ams-delta.c index 462cbcbea74a..b40095a19883 100644 --- a/sound/soc/omap/ams-delta.c +++ b/sound/soc/omap/ams-delta.c @@ -427,7 +427,8 @@ static struct snd_soc_ops ams_delta_ops = { /* Board specific codec bias level control */ static int ams_delta_set_bias_level(struct snd_soc_card *card, - enum snd_soc_bias_level level) + struct snd_soc_dapm_context *dapm, + enum snd_soc_bias_level level) { struct snd_soc_codec *codec = card->rtd->codec; |