diff options
author | Markus Pargmann <mpa@pengutronix.de> | 2013-06-20 15:20:21 +0200 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-07-15 11:10:36 +0100 |
commit | 9051cba110000985c1a50374fea16f1493955b6e (patch) | |
tree | b82b9fbaff799921e836f9ace4f5270ae039d0d5 /sound/soc/fsl/imx-ssi.c | |
parent | c364796a473db467b9201ea31a096bc0cf23547a (diff) | |
download | op-kernel-dev-9051cba110000985c1a50374fea16f1493955b6e.zip op-kernel-dev-9051cba110000985c1a50374fea16f1493955b6e.tar.gz |
ASoC: imx-pcm-fiq: Introduce pcm-fiq-params
Cleaner parameter passing for imx-pcm-fiq. Create a seperated fiq-params
struct to pass all arguments.
Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
Tested-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound/soc/fsl/imx-ssi.c')
-rw-r--r-- | sound/soc/fsl/imx-ssi.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sound/soc/fsl/imx-ssi.c b/sound/soc/fsl/imx-ssi.c index 51be377..f029e27 100644 --- a/sound/soc/fsl/imx-ssi.c +++ b/sound/soc/fsl/imx-ssi.c @@ -595,7 +595,12 @@ static int imx_ssi_probe(struct platform_device *pdev) goto failed_register; } - ret = imx_pcm_fiq_init(pdev); + ssi->fiq_params.irq = ssi->irq; + ssi->fiq_params.base = ssi->base; + ssi->fiq_params.dma_params_rx = &ssi->dma_params_rx; + ssi->fiq_params.dma_params_tx = &ssi->dma_params_tx; + + ret = imx_pcm_fiq_init(pdev, &ssi->fiq_params); if (ret) goto failed_pcm_fiq; |