From b0b3e6f86178723878dbe401c4ba192172a8acdd Mon Sep 17 00:00:00 2001 From: Mark Brown Date: Sat, 16 Jul 2011 10:55:08 +0900 Subject: 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: Mark Brown --- sound/soc/soc-dapm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sound/soc/soc-dapm.c') diff --git a/sound/soc/soc-dapm.c b/sound/soc/soc-dapm.c index 54fa2e5e307..fbfcda06283 100644 --- a/sound/soc/soc-dapm.c +++ b/sound/soc/soc-dapm.c @@ -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; } -- cgit v1.2.3