summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Baluta <daniel.baluta@nxp.com>2018-10-15 20:09:00 +0300
committerDaniel Baluta <daniel.baluta@nxp.com>2018-10-16 08:54:50 +0300
commit1907fe4c328797f62aa065a13b58f869cd2de2b9 (patch)
treeb6fa2d3b8f35d6257eb46390ac67382f2c84c2c4
parentb799984687c06a6d3e23529270ca8897f1a1e4c1 (diff)
MLK-19949: ASoC: dsp: Fix codec libraries search pathrel_imx_4.14.62_1.0.0_beta
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> (cherry picked from commit 69db3ccf656bd1f4f1283d7ea9529fac383d7a1a)
-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;