From 3515ccf42e7d61d44d5dbdd7805be528a0d161b5 Mon Sep 17 00:00:00 2001 From: Viorel Suman Date: Mon, 1 May 2017 14:57:02 +0300 Subject: ASoC: fsl: add imx-pcm-dma v2 platform driver (part 1) which don't request the dma channel in the probe, but request dma channel when needed. for the dma channel of cpu dai in BE can be reused by the FE. Signed-off-by: Shengjiu Wang [ Aisheng: spli SAI DAI changes ] Signed-off-by: Dong Aisheng --- sound/soc/fsl/imx-pcm.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'sound/soc/fsl/imx-pcm.h') diff --git a/sound/soc/fsl/imx-pcm.h b/sound/soc/fsl/imx-pcm.h index 1c78f45f39ee..5e4f3892feef 100644 --- a/sound/soc/fsl/imx-pcm.h +++ b/sound/soc/fsl/imx-pcm.h @@ -50,11 +50,16 @@ static inline int imx_rpmsg_platform_register(struct device *dev) #if IS_ENABLED(CONFIG_SND_SOC_IMX_PCM_DMA) int imx_pcm_dma_init(struct platform_device *pdev, size_t size); +int imx_pcm_platform_register(struct device *dev); #else static inline int imx_pcm_dma_init(struct platform_device *pdev, size_t size) { return -ENODEV; } +static inline int imx_pcm_platform_register(struct device *dev); +{ + return -ENODEV; +} #endif #if IS_ENABLED(CONFIG_SND_SOC_IMX_PCM_FIQ) -- cgit v1.2.3