aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/soc-dapm.c
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 /sound/soc/soc-dapm.c
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 'sound/soc/soc-dapm.c')
-rw-r--r--sound/soc/soc-dapm.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sound/soc/soc-dapm.c b/sound/soc/soc-dapm.c
index 37b376f4c75d..0f94fd057f29 100644
--- a/sound/soc/soc-dapm.c
+++ b/sound/soc/soc-dapm.c
@@ -899,7 +899,8 @@ static void dapm_seq_run(struct snd_soc_dapm_context *dapm,
899 for (i = 0; i < ARRAY_SIZE(dapm_up_seq); i++) 899 for (i = 0; i < ARRAY_SIZE(dapm_up_seq); i++)
900 if (sort[i] == cur_sort) 900 if (sort[i] == cur_sort)
901 cur_dapm->seq_notifier(cur_dapm, 901 cur_dapm->seq_notifier(cur_dapm,
902 i); 902 i,
903 cur_subseq);
903 } 904 }
904 905
905 INIT_LIST_HEAD(&pending); 906 INIT_LIST_HEAD(&pending);
@@ -968,7 +969,7 @@ static void dapm_seq_run(struct snd_soc_dapm_context *dapm,
968 for (i = 0; i < ARRAY_SIZE(dapm_up_seq); i++) 969 for (i = 0; i < ARRAY_SIZE(dapm_up_seq); i++)
969 if (sort[i] == cur_sort) 970 if (sort[i] == cur_sort)
970 cur_dapm->seq_notifier(cur_dapm, 971 cur_dapm->seq_notifier(cur_dapm,
971 i); 972 i, cur_subseq);
972 } 973 }
973} 974}
974 975