summaryrefslogtreecommitdiff
path: root/sound/soc/fsl/fsl_dsp_xaf_api.c
diff options
context:
space:
mode:
authorZhang Peng <peng.zhang_8@nxp.com>2020-09-18 13:33:03 +0800
committerZhang Peng <peng.zhang_8@nxp.com>2020-09-18 18:56:17 +0800
commit2fc96382f6dbd624e4597cffd284b0f9beffc646 (patch)
tree264f3a91dbfbaaf62097a527b8756a1bbab19635 /sound/soc/fsl/fsl_dsp_xaf_api.c
parent06491aba0cc5b81ac1340c91661cd34399b8ab86 (diff)
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>
Diffstat (limited to 'sound/soc/fsl/fsl_dsp_xaf_api.c')
-rw-r--r--sound/soc/fsl/fsl_dsp_xaf_api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/fsl/fsl_dsp_xaf_api.c b/sound/soc/fsl/fsl_dsp_xaf_api.c
index f544b6a3adba..9819ad374ed5 100644
--- a/sound/soc/fsl/fsl_dsp_xaf_api.c
+++ b/sound/soc/fsl/fsl_dsp_xaf_api.c
@@ -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);
}