diff options
author | Shawn Guo <shawn.guo@linaro.org> | 2012-03-03 16:19:49 +0100 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-03-04 14:26:02 +0100 |
commit | 9a3a101c1a34b498f466409ce5a1bf0fcbcc476b (patch) | |
tree | cff10824b3d959c718bc4d7006884facf3820923 /sound/soc/imx/imx-ssi.c | |
parent | ASoC: wm8994: Factor out WM1811A detection mode setting (diff) | |
download | linux-9a3a101c1a34b498f466409ce5a1bf0fcbcc476b.tar.xz 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-ssi.c')
-rw-r--r-- | sound/soc/imx/imx-ssi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/imx/imx-ssi.c b/sound/soc/imx/imx-ssi.c index dbf43f5f0aed..25c623115a9f 100644 --- a/sound/soc/imx/imx-ssi.c +++ b/sound/soc/imx/imx-ssi.c @@ -668,7 +668,7 @@ static int imx_ssi_probe(struct platform_device *pdev) ssi->dma_params_rx.dma_addr = res->start + SSI_SRX0; ssi->dma_params_tx.dma_addr = res->start + SSI_STX0; - ssi->dma_params_tx.burstsize = 4; + ssi->dma_params_tx.burstsize = 6; ssi->dma_params_rx.burstsize = 4; res = platform_get_resource_byname(pdev, IORESOURCE_DMA, "tx0"); |