Commits
Shengjiu Wang committed fe88b874f67
LF-374: ASoC: imx-pcm-dma-v2: Fix compile issue with SND_SOC_IMX_PCM_DMA=m When build with CONFIG_SND_SOC_IMX_PCM_DMA=m, there is error: ERROR: "snd_pcm_lib_preallocate_free" [sound/soc/fsl/imx-pcm-dma-v2.ko] undefined! The reason is that snd_pcm_lib_preallocate_free is not declared with EXPORT_SYMBOL. In this patch, we use snd_dma_alloc_pages & snd_dma_free_pages to replace the snd_pcm_lib_preallocate_pages & snd_pcm_lib_preallocate_free to fix the build issue. Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>