From 2fc96382f6dbd624e4597cffd284b0f9beffc646 Mon Sep 17 00:00:00 2001 From: Zhang Peng Date: Fri, 18 Sep 2020 13:33:03 +0800 Subject: 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 --- sound/soc/fsl/fsl_dsp_xaf_api.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sound/soc/fsl/fsl_dsp_xaf_api.c') 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); } -- cgit v1.2.3