diff options
author | Shawn Guo <shawn.guo@linaro.org> | 2012-03-03 23:19:49 +0800 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-03-04 13:26:02 +0000 |
commit | 9a3a101c1a34b498f466409ce5a1bf0fcbcc476b (patch) | |
tree | cff10824b3d959c718bc4d7006884facf3820923 /sound/soc/imx/imx-pcm-dma-mx2.c | |
parent | 1defde2a50f9171e665cc8f4c46fe48e86bb364e (diff) | |
download | linux-9a3a101c1a34b498f466409ce5a1bf0fcbcc476b.tar.gz linux-9a3a101c1a34b498f466409ce5a1bf0fcbcc476b.tar.bz2 linux-9a3a101c1a34b498f466409ce5a1bf0fcbcc476b.zip |
ASoC: imx: initialize dma_params burstsize just in imx-ssi
It's not necessary for imx-pcm-dma-mx2 to access imx_ssi.dma_params
for burstsize initialization. Instead, it can just be done in imx-ssi
probe function once.
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/imx/imx-pcm-dma-mx2.c')
-rw-r--r-- | sound/soc/imx/imx-pcm-dma-mx2.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/sound/soc/imx/imx-pcm-dma-mx2.c b/sound/soc/imx/imx-pcm-dma-mx2.c index 4cd5462049bc..471e2218c971 100644 --- a/sound/soc/imx/imx-pcm-dma-mx2.c +++ b/sound/soc/imx/imx-pcm-dma-mx2.c @@ -149,11 +149,6 @@ static struct snd_soc_platform_driver imx_soc_platform_mx2 = { static int __devinit imx_soc_platform_probe(struct platform_device *pdev) { - struct imx_ssi *ssi = platform_get_drvdata(pdev); - - ssi->dma_params_tx.burstsize = 6; - ssi->dma_params_rx.burstsize = 4; - return snd_soc_register_platform(&pdev->dev, &imx_soc_platform_mx2); } |