From 3d55a99ccd00dd64c01402e82b6b9530c6831875 Mon Sep 17 00:00:00 2001 From: Ranjani Sridharan Date: Sun, 13 Jun 2021 12:58:35 -0700 Subject: [PATCH] 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 Signed-off-by: Jaroslav Kysela --- topology/pre-processor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/topology/pre-processor.c b/topology/pre-processor.c index 442dcc4..8bb3f74 100644 --- a/topology/pre-processor.c +++ b/topology/pre-processor.c @@ -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) { -- 2.47.1