summaryrefslogtreecommitdiffstats
path: root/sound/soc/fsl/imx-pcm-fiq.c
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@linaro.org>2013-04-25 05:18:48 +0200
committerMark Brown <broonie@opensource.wolfsonmicro.com>2013-05-15 07:27:27 +0200
commit88e89f5548a6e19bf837633f622764f2d1531748 (patch)
tree6ea20bb434c2b41ae340df76e7bb09f2198858c1 /sound/soc/fsl/imx-pcm-fiq.c
parentASoC: fsl: remove use of imx-pcm-audio from imx-ssi (diff)
downloadlinux-88e89f5548a6e19bf837633f622764f2d1531748.tar.xz
linux-88e89f5548a6e19bf837633f622764f2d1531748.zip
ASoC: fsl: create function imx_pcm_fiq_exit()
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>
Diffstat (limited to 'sound/soc/fsl/imx-pcm-fiq.c')
-rw-r--r--sound/soc/fsl/imx-pcm-fiq.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/sound/soc/fsl/imx-pcm-fiq.c b/sound/soc/fsl/imx-pcm-fiq.c
index 670b96b0ce2f..710c06990450 100644
--- a/sound/soc/fsl/imx-pcm-fiq.c
+++ b/sound/soc/fsl/imx-pcm-fiq.c
@@ -314,3 +314,8 @@ failed_register:
return ret;
}
+
+void imx_pcm_fiq_exit(struct platform_device *pdev)
+{
+ snd_soc_unregister_platform(&pdev->dev);
+}