summaryrefslogtreecommitdiff
path: root/sound/soc/fsl/fsl_dsp_xaf_api.c
diff options
context:
space:
mode:
authorDaniel Baluta <daniel.baluta@nxp.com>2018-10-15 20:09:00 +0300
committerDong Aisheng <aisheng.dong@nxp.com>2019-11-25 15:52:04 +0800
commitef0c584816f4ee3549f259cc8c48b8b42339a19d (patch)
treea543eb14d08ccdf61949069ecf1563893aa0062c /sound/soc/fsl/fsl_dsp_xaf_api.c
parenteae3b2f34cd1a7a0301a8fe087a5a02b8a226859 (diff)
MLK-19949: ASoC: dsp: Fix codec libraries search path
Old implementation uses /usr/lib/imx-mm/audio-codec to look for codec libraries. Also this is the patch where Yocto rootfs stores the codec libraries. So until we align Yocto with the kernel lets change the driver to use the old path. Signed-off-by: Daniel Baluta <daniel.baluta@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 503503a28922..f40560b099ad 100644
--- a/sound/soc/fsl/fsl_dsp_xaf_api.c
+++ b/sound/soc/fsl/fsl_dsp_xaf_api.c
@@ -183,8 +183,8 @@ int xaf_comp_create(struct xf_client *client, struct xf_proxy *proxy,
memset((void *)p_comp, 0, sizeof(struct xaf_comp));
- strcpy(lib_path, "/lib/firmware/imx/dsp/");
- strcpy(lib_wrap_path, "/lib/firmware/imx/dsp/");
+ strcpy(lib_path, "/usr/lib/imx-mm/audio-codec/dsp/");
+ strcpy(lib_wrap_path, "/usr/lib/imx-mm/audio-codec/dsp/");
p_handle = &p_comp->handle;