diff options
author | Shawn Guo <shawn.guo@linaro.org> | 2013-04-24 23:18:48 -0400 |
---|---|---|
committer | Nitin Garg <nitin.garg@freescale.com> | 2014-04-16 09:00:40 -0400 |
commit | 0f27460e9903677c81dda2cb1b662fb3b4e6564c (patch) | |
tree | b1d12444dea30706a0cd90f0b9c92e8d8a046ff3 /sound/soc/fsl/imx-pcm.h | |
parent | 18fc1f9e924571a956d88059376602aed29d7658 (diff) |
ASoC: fsl: create function imx_pcm_fiq_exit()
Commit 88e89f5548a6e19bf837633f622764f2d1531748 upstream.
Create function imx_pcm_fiq_exit() to be paired with imx_pcm_fiq_init()
just like the pair of imx_pcm_dma_init() and imx_pcm_dma_exit().
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
Diffstat (limited to 'sound/soc/fsl/imx-pcm.h')
-rw-r--r-- | sound/soc/fsl/imx-pcm.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sound/soc/fsl/imx-pcm.h b/sound/soc/fsl/imx-pcm.h index b7fa0d75c687..073bf389c02e 100644 --- a/sound/soc/fsl/imx-pcm.h +++ b/sound/soc/fsl/imx-pcm.h | |||
@@ -53,11 +53,16 @@ static inline void imx_pcm_dma_exit(struct platform_device *pdev) | |||
53 | 53 | ||
54 | #ifdef CONFIG_SND_SOC_IMX_PCM_FIQ | 54 | #ifdef CONFIG_SND_SOC_IMX_PCM_FIQ |
55 | int imx_pcm_fiq_init(struct platform_device *pdev); | 55 | int imx_pcm_fiq_init(struct platform_device *pdev); |
56 | void imx_pcm_fiq_exit(struct platform_device *pdev); | ||
56 | #else | 57 | #else |
57 | static inline int imx_pcm_fiq_init(struct platform_device *pdev) | 58 | static inline int imx_pcm_fiq_init(struct platform_device *pdev) |
58 | { | 59 | { |
59 | return -ENODEV; | 60 | return -ENODEV; |
60 | } | 61 | } |
62 | |||
63 | static inline void imx_pcm_fiq_exit(struct platform_device *pdev) | ||
64 | { | ||
65 | } | ||
61 | #endif | 66 | #endif |
62 | 67 | ||
63 | #endif /* _IMX_PCM_H */ | 68 | #endif /* _IMX_PCM_H */ |