diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-07-15 21:55:08 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-07-17 05:23:31 -0400 |
commit | b0b3e6f86178723878dbe401c4ba192172a8acdd (patch) | |
tree | e82fe88aaec17c5c63e9316e06f9ca72a6beb7d0 /sound/soc | |
parent | 7d02173cd17a1ac3db04aa9b9e5de153f2d02dd5 (diff) |
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 <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc')
-rw-r--r-- | sound/soc/soc-dapm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/soc-dapm.c b/sound/soc/soc-dapm.c index 54fa2e5e3078..fbfcda062839 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, | |||
989 | 989 | ||
990 | INIT_LIST_HEAD(&pending); | 990 | INIT_LIST_HEAD(&pending); |
991 | cur_sort = -1; | 991 | cur_sort = -1; |
992 | cur_subseq = -1; | 992 | cur_subseq = INT_MIN; |
993 | cur_reg = SND_SOC_NOPM; | 993 | cur_reg = SND_SOC_NOPM; |
994 | cur_dapm = NULL; | 994 | cur_dapm = NULL; |
995 | } | 995 | } |