Merge remote-tracking branch 'asoc/topic/dma' into asoc-next
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 12 Apr 2013 12:57:04 +0000 (13:57 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 12 Apr 2013 12:57:04 +0000 (13:57 +0100)
15 files changed:
1  2 
sound/soc/cirrus/ep93xx-ac97.c
sound/soc/cirrus/ep93xx-i2s.c
sound/soc/fsl/fsl_ssi.c
sound/soc/fsl/imx-ssi.c
sound/soc/mxs/mxs-saif.c
sound/soc/omap/omap-dmic.c
sound/soc/omap/omap-hdmi.c
sound/soc/omap/omap-mcbsp.c
sound/soc/omap/omap-mcpdm.c
sound/soc/spear/spear_pcm.c
sound/soc/tegra/tegra20_ac97.c
sound/soc/tegra/tegra20_i2s.c
sound/soc/tegra/tegra20_spdif.c
sound/soc/tegra/tegra30_i2s.c
sound/soc/tegra/tegra_pcm.c

Simple merge
index 8d244be275d649a303206ec8d5c38874dbbd75a5,83075b3c180c387dcf5f0cab6cb4f035b2874aa3..5c1102e9e1598823b8eac35bfe72b3b203dcb5f7
@@@ -407,10 -403,9 +407,10 @@@ static int ep93xx_i2s_probe(struct plat
        }
  
        dev_set_drvdata(&pdev->dev, info);
-       info->dma_params = ep93xx_i2s_dma_params;
+       info->dma_data = ep93xx_i2s_dma_data;
  
 -      err = snd_soc_register_dai(&pdev->dev, &ep93xx_i2s_dai);
 +      err = snd_soc_register_component(&pdev->dev, &ep93xx_i2s_component,
 +                                       &ep93xx_i2s_dai, 1);
        if (err)
                goto fail_put_lrclk;
  
Simple merge
Simple merge
Simple merge
index 4c54542895b0ce4999069bb8d7f6016fa40e43ca,a2597fab33a3f17542875f10a0a8c0adc67f042d..2ad0370146fda408ad40fc1d992fe3cd8a12d0f6
@@@ -497,22 -491,11 +495,12 @@@ static int asoc_dmic_probe(struct platf
                goto err_put_clk;
        }
  
-       if (!devm_request_mem_region(&pdev->dev, res->start,
-                                    resource_size(res), pdev->name)) {
-               dev_err(dmic->dev, "memory region already claimed\n");
-               ret = -ENODEV;
-               goto err_put_clk;
-       }
-       dmic->io_base = devm_ioremap(&pdev->dev, res->start,
-                                    resource_size(res));
-       if (!dmic->io_base) {
-               ret = -ENOMEM;
-               goto err_put_clk;
-       }
+       dmic->io_base = devm_ioremap_resource(&pdev->dev, res);
+       if (IS_ERR(dmic->io_base))
+               return PTR_ERR(dmic->io_base);
  
 -      ret = snd_soc_register_dai(&pdev->dev, &omap_dmic_dai);
 +      ret = snd_soc_register_component(&pdev->dev, &omap_dmic_component,
 +                                       &omap_dmic_dai, 1);
        if (ret)
                goto err_put_clk;
  
Simple merge
Simple merge
Simple merge
Simple merge
index b5cee92f82e85071662be5261d7c4b4f13f8c46a,2d7b8c2719ce1c351118a38017f21eacf1858d43..2f70ea7f6618ae04dc8f125925638d4e9f90c147
@@@ -393,17 -390,16 +394,17 @@@ static int tegra20_ac97_platform_probe(
        }
  
        ac97->capture_dma_data.addr = mem->start + TEGRA20_AC97_FIFO_RX1;
-       ac97->capture_dma_data.wrap = 4;
-       ac97->capture_dma_data.width = 32;
-       ac97->capture_dma_data.req_sel = of_dma[1];
+       ac97->capture_dma_data.addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES;
+       ac97->capture_dma_data.maxburst = 4;
+       ac97->capture_dma_data.slave_id = of_dma[1];
  
        ac97->playback_dma_data.addr = mem->start + TEGRA20_AC97_FIFO_TX1;
-       ac97->playback_dma_data.wrap = 4;
-       ac97->playback_dma_data.width = 32;
-       ac97->playback_dma_data.req_sel = of_dma[1];
+       ac97->capture_dma_data.addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES;
+       ac97->capture_dma_data.maxburst = 4;
+       ac97->capture_dma_data.slave_id = of_dma[0];
  
 -      ret = snd_soc_register_dais(&pdev->dev, &tegra20_ac97_dai, 1);
 +      ret = snd_soc_register_component(&pdev->dev, &tegra20_ac97_component,
 +                                       &tegra20_ac97_dai, 1);
        if (ret) {
                dev_err(&pdev->dev, "Could not register DAI: %d\n", ret);
                ret = -ENOMEM;
Simple merge
Simple merge
Simple merge
Simple merge