diff options
author | Shawn Guo <shawn.guo@linaro.org> | 2013-04-25 07:18:48 +0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2013-05-15 09:27:27 +0400 |
commit | 88e89f5548a6e19bf837633f622764f2d1531748 (patch) | |
tree | 6ea20bb434c2b41ae340df76e7bb09f2198858c1 /sound/soc/fsl/imx-pcm.c | |
parent | 3b7d46380beae3de4a0f03ba4dcbd509c97ab503 (diff) | |
download | linux-88e89f5548a6e19bf837633f622764f2d1531748.tar.xz |
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.c')
-rw-r--r-- | sound/soc/fsl/imx-pcm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/fsl/imx-pcm.c b/sound/soc/fsl/imx-pcm.c index c49896442d8e..16a956bcc52b 100644 --- a/sound/soc/fsl/imx-pcm.c +++ b/sound/soc/fsl/imx-pcm.c @@ -115,7 +115,7 @@ static int imx_pcm_probe(struct platform_device *pdev) static int imx_pcm_remove(struct platform_device *pdev) { if (strcmp(pdev->id_entry->name, "imx-fiq-pcm-audio") == 0) - snd_soc_unregister_platform(&pdev->dev); + imx_pcm_fiq_exit(pdev); else imx_pcm_dma_exit(pdev); |