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