[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1301068306-11997-2-git-send-email-w.sang@pengutronix.de>
Date: Fri, 25 Mar 2011 16:51:44 +0100
From: Wolfram Sang <w.sang@...gutronix.de>
To: alsa-devel@...a-project.org
Cc: Sascha Hauer <s.hauer@...gutronix.de>,
Wolfram Sang <w.sang@...gutronix.de>,
Liam Girdwood <lrg@...mlogic.co.uk> (supporter:SOUND - SOC LAYER...
,commit_signer:6/12=50%,commit_signer:3/4=75%),
Mark Brown <broonie@...nsource.wolfsonmicro.com> (supporter:SOUND -
SOC LAYER...,commit_signer:6/12=50%,commit_signer:3/4=75%),
Jaroslav Kysela <perex@...ex.cz> (maintainer:SOUND),
Takashi Iwai <tiwai@...e.de> (maintainer:SOUND),
Timur Tabi <timur@...escale.com> (commit_signer:2/12=17%
,commit_signer:2/4=50%),
Jarkko Nikula <jhnikula@...il.com> (commit_signer:1/4=25%),
linux-kernel@...r.kernel.org (open list)
Subject: [PATCH 1/3] ASoC: imx: set watermarks for mx2-dma
They got accidently removed by f0fba2a (ASoC: multi-component - ASoC
Multi-Component Support). Reintroduce them and get rid of the
superfluous defines because the fiq-driver has its own hardcoded values.
Signed-off-by: Wolfram Sang <w.sang@...gutronix.de>
---
sound/soc/imx/imx-pcm-dma-mx2.c | 5 +++++
sound/soc/imx/imx-ssi.h | 3 ---
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/sound/soc/imx/imx-pcm-dma-mx2.c b/sound/soc/imx/imx-pcm-dma-mx2.c
index 671ef8d..b2ed764 100644
--- a/sound/soc/imx/imx-pcm-dma-mx2.c
+++ b/sound/soc/imx/imx-pcm-dma-mx2.c
@@ -303,6 +303,11 @@ 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);
}
diff --git a/sound/soc/imx/imx-ssi.h b/sound/soc/imx/imx-ssi.h
index a4406a1..dc8a875 100644
--- a/sound/soc/imx/imx-ssi.h
+++ b/sound/soc/imx/imx-ssi.h
@@ -234,7 +234,4 @@ void imx_pcm_free(struct snd_pcm *pcm);
*/
#define IMX_SSI_DMABUF_SIZE (64 * 1024)
-#define DMA_RXFIFO_BURST 0x4
-#define DMA_TXFIFO_BURST 0x6
-
#endif /* _IMX_SSI_H */
--
1.7.2.5
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists