MLK-24816-2 ASoc: fsl_dsp: Correct set connected component port

When connect two components, should be one component output port links
to the other one input port.

Signed-off-by: Zhang Peng <peng.zhang_8@nxp.com>
This commit is contained in:
Zhang Peng 2020-09-18 13:33:03 +08:00
parent 06491aba0c
commit 2fc96382f6

View File

@ -468,7 +468,7 @@ int xaf_connect(struct xf_client *client,
u32 buf_length)
{
/* ...connect p_src output port with p_dest input port */
return xf_route(client, &p_src->handle, 0, &p_dest->handle, 0,
return xf_route(client, &p_src->handle, 1, &p_dest->handle, 0,
num_buf, buf_length, 8);
}