summaryrefslogtreecommitdiff
path: root/sound/soc/fsl/fsl_dsp_xaf_api.c
AgeCommit message (Collapse)Author
2020-09-18MLK-24816-2 ASoc: fsl_dsp: Correct set connected component portZhang Peng
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>
2020-08-14MLK-24501-5 dsp: add lpa pcm support.Bing Song
Use reserved memory as PCM mode need more memory. Use ping-pong buffer for PCM LPA playback to avoid underrun. Signed-off-by: Bing Song <bing.song@nxp.com> Reviewed-by: Shengjiu Wang <shengjiu.wang@nxp.com>
2020-07-30MLK-24444-1: ASoC: fsl_dsp: Support PCM format for compress sound cardShengjiu Wang
For PCM format the supported format is mono/stereo, S16_LE/S32_LE, and 8KHz-192kHz frequency. Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com> Reviewed-by: Daniel Baluta <daniel.baluta@nxp.com>
2020-07-10MLK-24365-6 dsp: enlarge the audio bitstream buffer.Bing Song
The buffer is share between A core and DSP. Enlarge it, so A core will suspend longer when DSP is playbacking audio. Signed-off-by: Bing Song <bing.song@nxp.com>
2020-04-07MLK-23701-2 ASoc:fsl: Add support cplay in mp boardZhang Peng
1. Add clk necessary in dsp driver 2. Add renderer type for select sai or esai Signed-off-by: Zhang Peng <peng.zhang_8@nxp.com>
2019-11-25MLK-22815-1: ASoC: fsl: dsp: Expand parameter msg sizeZhang Peng
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>
2019-11-25MLK-19972-2: ASoC: fsl: dsp: Fix component creation cleanup pathDaniel Baluta
Because we don't correctly free resources when an error occurs on component creation path we can end up with partially initialized components. Freeing such partially initialized components most of the time leads to kernel crashing in pain. Avoid this by making sure we either: * return a fully initialized component, comp->active = true * don't "create" the component at all, comp->active = false Reviewed-by: Shengjiu Wang <shengjiu.wang@nxp.com> Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
2019-11-25MLK-19949: ASoC: dsp: Fix codec libraries search pathDaniel Baluta
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>
2019-11-25MLK-18497-7: ASoC: fsl: xaf_afi: Introduce component APIDaniel Baluta
This is based on Xtensa Audio framework userspace implemention API. Reviewed-by: Cosmin-Gabriel Samoila <cosmin.samoila@nxp.com> Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>