Audio: Crossover: Fix build error

The component build fails if it is enabled in Kconfig. The variable
pipeline_id is not defined, it should be sink_id.

Fixes: 5bcbcf19f7 ("Audio: Crossover: Convert to module adapter")

Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
This commit is contained in:
Seppo Ingalsuo 2023-08-21 19:34:18 +03:00 committed by Liam Girdwood
parent bc28b924d9
commit ad7918106d
1 changed files with 2 additions and 2 deletions

View File

@ -170,14 +170,14 @@ static int crossover_assign_sinks(struct processing_module *mod,
if (i < 0) {
comp_err(dev,
"crossover_assign_sinks(), could not find sink %d in config",
pipeline_id);
sink_id);
break;
}
if (sinks[i]) {
comp_err(dev,
"crossover_assign_sinks(), multiple sinks from pipeline %d are assigned",
pipeline_id);
sink_id);
break;
}