aboutsummaryrefslogtreecommitdiffstats
path: root/include/sound
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2011-01-26 16:41:28 -0500
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-01-27 06:59:14 -0500
commitf85a9e0d260905f98d4ca6b66f0e64f63a729dba (patch)
tree4d94f21c2bd5a01f8299afb44c797e3df1d49205 /include/sound
parentaaee8ef146111566e1c607bdf368d73fb966be2e (diff)
ASoC: Add subsequence information to seq_notify callbacks
Allows drivers to distinguish which subsequence is being notified when they get called back. 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-dapm.h2
-rw-r--r--include/sound/soc.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/sound/soc-dapm.h b/include/sound/soc-dapm.h
index 6a25e6993859..979ed84e07d6 100644
--- a/include/sound/soc-dapm.h
+++ b/include/sound/soc-dapm.h
@@ -501,7 +501,7 @@ struct snd_soc_dapm_context {
501 struct snd_soc_dapm_update *update; 501 struct snd_soc_dapm_update *update;
502 502
503 void (*seq_notifier)(struct snd_soc_dapm_context *, 503 void (*seq_notifier)(struct snd_soc_dapm_context *,
504 enum snd_soc_dapm_type); 504 enum snd_soc_dapm_type, int);
505 505
506 struct device *dev; /* from parent - for debug */ 506 struct device *dev; /* from parent - for debug */
507 struct snd_soc_codec *codec; /* parent codec */ 507 struct snd_soc_codec *codec; /* parent codec */
diff --git a/include/sound/soc.h b/include/sound/soc.h
index 64856d656f15..7ecdaefd1b63 100644
--- a/include/sound/soc.h
+++ b/include/sound/soc.h
@@ -553,7 +553,7 @@ struct snd_soc_codec_driver {
553 enum snd_soc_bias_level level); 553 enum snd_soc_bias_level level);
554 554
555 void (*seq_notifier)(struct snd_soc_dapm_context *, 555 void (*seq_notifier)(struct snd_soc_dapm_context *,
556 enum snd_soc_dapm_type); 556 enum snd_soc_dapm_type, int);
557}; 557};
558 558
559/* SoC platform interface */ 559/* SoC platform interface */