Merge remote-tracking branch 'asoc/topic/fsl' into asoc-next
authorMark Brown <broonie@linaro.org>
Fri, 8 Nov 2013 10:43:29 +0000 (10:43 +0000)
committerMark Brown <broonie@linaro.org>
Fri, 8 Nov 2013 10:43:29 +0000 (10:43 +0000)
1  2 
sound/soc/fsl/fsl_spdif.c
sound/soc/fsl/imx-sgtl5000.c
sound/soc/fsl/imx-ssi.c
sound/soc/fsl/imx-wm8962.c

Simple merge
Simple merge
@@@ -610,10 -610,11 +610,9 @@@ static int imx_ssi_probe(struct platfor
  
        return 0;
  
 -failed_pcm_dma:
 -      imx_pcm_fiq_exit(pdev);
 -failed_pcm_fiq:
 +failed_pcm:
        snd_soc_unregister_component(&pdev->dev);
  failed_register:
-       release_mem_region(res->start, resource_size(res));
        clk_disable_unprepare(ssi->clk);
  failed_clk:
        snd_soc_set_ac97_ops(NULL);
  
  static int imx_ssi_remove(struct platform_device *pdev)
  {
-       struct resource *res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
        struct imx_ssi *ssi = platform_get_drvdata(pdev);
  
 -      imx_pcm_dma_exit(pdev);
 -      imx_pcm_fiq_exit(pdev);
 +      if (!ssi->dma_init)
 +              imx_pcm_dma_exit(pdev);
 +
 +      if (!ssi->fiq_init)
 +              imx_pcm_fiq_exit(pdev);
  
        snd_soc_unregister_component(&pdev->dev);
  
Simple merge