aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/fsl
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/fsl')
-rw-r--r--sound/soc/fsl/fsl_ssi.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sound/soc/fsl/fsl_ssi.c b/sound/soc/fsl/fsl_ssi.c
index 0c072ff10875..3168998dcf1d 100644
--- a/sound/soc/fsl/fsl_ssi.c
+++ b/sound/soc/fsl/fsl_ssi.c
@@ -928,14 +928,14 @@ static int fsl_ssi_remove(struct platform_device *pdev)
928 928
929 if (!ssi_private->new_binding) 929 if (!ssi_private->new_binding)
930 platform_device_unregister(ssi_private->pdev); 930 platform_device_unregister(ssi_private->pdev);
931 if (ssi_private->ssi_on_imx) { 931 if (ssi_private->ssi_on_imx)
932 imx_pcm_dma_exit(pdev); 932 imx_pcm_dma_exit(pdev);
933 clk_disable_unprepare(ssi_private->clk);
934 }
935 snd_soc_unregister_component(&pdev->dev); 933 snd_soc_unregister_component(&pdev->dev);
934 dev_set_drvdata(&pdev->dev, NULL);
936 device_remove_file(&pdev->dev, &ssi_private->dev_attr); 935 device_remove_file(&pdev->dev, &ssi_private->dev_attr);
936 if (ssi_private->ssi_on_imx)
937 clk_disable_unprepare(ssi_private->clk);
937 irq_dispose_mapping(ssi_private->irq); 938 irq_dispose_mapping(ssi_private->irq);
938 dev_set_drvdata(&pdev->dev, NULL);
939 939
940 return 0; 940 return 0;
941} 941}