topology: pre-processor: fix typo in pre_process_config()

Fix typo in config variable name. Should be n2 instead of n.

Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
Ranjani Sridharan 2021-06-13 12:58:35 -07:00 committed by Jaroslav Kysela
parent c1f0ec46b4
commit 3d55a99ccd

View file

@ -149,7 +149,7 @@ static int pre_process_config(struct tplg_pre_processor *tplg_pp, snd_config_t *
snd_config_for_each(i2, next2, n) {
n2 = snd_config_iterator_entry(i2);
if (snd_config_get_id(n, &id) < 0)
if (snd_config_get_id(n2, &id) < 0)
continue;
if (snd_config_get_type(n2) != SND_CONFIG_TYPE_COMPOUND) {