mirror of https://github.com/thesofproject/sof.git
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:
parent
bc28b924d9
commit
ad7918106d
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue