mux: remove the wrong error message

A wrong error message was added in helper get_stream_index(), remove to
fix it.

Fixes: 80666b7cc7 ("ipc: component: abstract the component creation API")
Signed-off-by: Keyon Jie <yang.jie@linux.intel.com>
This commit is contained in:
Keyon Jie 2021-05-12 09:05:11 +08:00 committed by Liam Girdwood
parent e112e0bc0f
commit 8da8060ea9
1 changed files with 1 additions and 3 deletions

View File

@ -213,11 +213,9 @@ static uint8_t get_stream_index(struct comp_data *cd, uint32_t pipe_id)
{
int i;
for (i = 0; i < MUX_MAX_STREAMS; i++) {
comp_cl_err(&comp_mux, "got %u", cd->config.streams[i].pipeline_id);
for (i = 0; i < MUX_MAX_STREAMS; i++)
if (cd->config.streams[i].pipeline_id == pipe_id)
return i;
}
comp_cl_err(&comp_mux, "get_stream_index(): couldn't find configuration for connected pipeline %u",
pipe_id);