Merge remote-tracking branch 'asoc/topic/fsl' into asoc-next
authorMark Brown <broonie@linaro.org>
Thu, 24 Oct 2013 10:24:06 +0000 (11:24 +0100)
committerMark Brown <broonie@linaro.org>
Thu, 24 Oct 2013 10:24:06 +0000 (11:24 +0100)
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
index 57d6941676ffabc509754317337bf109e16376a3,02722897914d48c19ff1452d2875e09478796353..f5f248c91c16db7c3db5a50654bceedb0e81953f
@@@ -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