summaryrefslogtreecommitdiffstats
path: root/sound/soc/fsl/imx-pcm-fiq.c
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@linaro.org>2013-04-25 11:18:48 +0800
committerMark Brown <broonie@opensource.wolfsonmicro.com>2013-05-15 09:27:27 +0400
commit88e89f5548a6e19bf837633f622764f2d1531748 (patch)
tree6ea20bb434c2b41ae340df76e7bb09f2198858c1 /sound/soc/fsl/imx-pcm-fiq.c
parent3b7d46380beae3de4a0f03ba4dcbd509c97ab503 (diff)
downloadblackbird-op-linux-88e89f5548a6e19bf837633f622764f2d1531748.tar.gz
blackbird-op-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);
+}
OpenPOWER on IntegriCloud