Skip to content

Commit

Permalink
ASoC: Don't use -1 to boostrap subseq so it can be used by drivers
Browse files Browse the repository at this point in the history
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: Mark Brown <broonie@opensource.wolfsonmicro.com>
  • Loading branch information
Mark Brown committed Jul 17, 2011
1 parent 7d02173 commit b0b3e6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/soc/soc-dapm.c
Original file line number Diff line number Diff line change
Expand Up @@ -989,7 +989,7 @@ static void dapm_seq_run(struct snd_soc_dapm_context *dapm,

INIT_LIST_HEAD(&pending);
cur_sort = -1;
cur_subseq = -1;
cur_subseq = INT_MIN;
cur_reg = SND_SOC_NOPM;
cur_dapm = NULL;
}
Expand Down

0 comments on commit b0b3e6f

Please sign in to comment.