Commit b0b3e6f8 authored by Mark Brown's avatar Mark Brown

ASoC: Don't use -1 to boostrap subseq so it can be used by drivers

Makes life a little easier if you want to add subsequences to an existing
driver as you can use -1 to put things at the start of sequences.
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent 7d02173c
...@@ -989,7 +989,7 @@ static void dapm_seq_run(struct snd_soc_dapm_context *dapm, ...@@ -989,7 +989,7 @@ static void dapm_seq_run(struct snd_soc_dapm_context *dapm,
INIT_LIST_HEAD(&pending); INIT_LIST_HEAD(&pending);
cur_sort = -1; cur_sort = -1;
cur_subseq = -1; cur_subseq = INT_MIN;
cur_reg = SND_SOC_NOPM; cur_reg = SND_SOC_NOPM;
cur_dapm = NULL; cur_dapm = NULL;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment