summaryrefslogtreecommitdiff
path: root/sound/soc/fsl/fsl_dsp_xaf_api.c
diff options
context:
space:
mode:
authorZhang Peng <peng_zhang_8@nxp.com>2019-10-23 10:02:00 +0800
committerDong Aisheng <aisheng.dong@nxp.com>2019-11-25 15:52:21 +0800
commit21f3df8506d95fbb6a0db7d58205b0180c200a52 (patch)
tree80ca5102f2f9c333f4a06113a68579c9c1a63a3c /sound/soc/fsl/fsl_dsp_xaf_api.c
parent6bfa0c442b69c07b45e74f00704f74fd1ad99fa5 (diff)
MLK-22815-1: ASoC: fsl: dsp: Expand parameter msg size
Modified parameter msg in dsp, make sure still can transfer right msg between DSP and user, modified parameter msg in kernel. 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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/fsl/fsl_dsp_xaf_api.c b/sound/soc/fsl/fsl_dsp_xaf_api.c
index 05d1a1685989..4312a6b29ef1 100644
--- a/sound/soc/fsl/fsl_dsp_xaf_api.c
+++ b/sound/soc/fsl/fsl_dsp_xaf_api.c
@@ -47,7 +47,7 @@ int xaf_comp_set_config(struct xf_client *client, struct xaf_comp *p_comp,
for (i = 0; i < num_param; i++) {
smsg[i].id = param[i].id;
- smsg[i].value = param[i].value;
+ smsg[i].mixData.value = param[i].mixData.value;
}
/* ...set command parameters */
@@ -129,7 +129,7 @@ int xaf_comp_get_config(struct xf_client *client, struct xaf_comp *p_comp,
}
for (i = 0; i < num_param; i++)
- param[i].value = smsg[i].value;
+ param[i].mixData.value = smsg[i].mixData.value;
return 0;
}