All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ASoC: fsl: use snd_soc_dai_init_dma_data()
@ 2014-01-20  7:27 Xiubo Li
  2014-01-21  5:52 ` Nicolin Chen
  2014-01-21 18:44 ` Mark Brown
  0 siblings, 2 replies; 3+ messages in thread
From: Xiubo Li @ 2014-01-20  7:27 UTC (permalink / raw)
  To: lgirdwood, broonie, Guangyu.Chen, timur; +Cc: alsa-devel, Xiubo Li

Signed-off-by: Xiubo Li <Li.Xiubo@freescale.com>
---
 sound/soc/fsl/fsl_spdif.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sound/soc/fsl/fsl_spdif.c b/sound/soc/fsl/fsl_spdif.c
index 4d075f1..8f36f49 100644
--- a/sound/soc/fsl/fsl_spdif.c
+++ b/sound/soc/fsl/fsl_spdif.c
@@ -911,8 +911,8 @@ static int fsl_spdif_dai_probe(struct snd_soc_dai *dai)
 {
 	struct fsl_spdif_priv *spdif_private = snd_soc_dai_get_drvdata(dai);
 
-	dai->playback_dma_data = &spdif_private->dma_params_tx;
-	dai->capture_dma_data = &spdif_private->dma_params_rx;
+	snd_soc_dai_init_dma_data(dai, &spdif_private->dma_params_tx,
+				  &spdif_private->dma_params_rx);
 
 	snd_soc_add_dai_controls(dai, fsl_spdif_ctrls, ARRAY_SIZE(fsl_spdif_ctrls));
 
-- 
1.8.4

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-01-21 18:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-20  7:27 [PATCH] ASoC: fsl: use snd_soc_dai_init_dma_data() Xiubo Li
2014-01-21  5:52 ` Nicolin Chen
2014-01-21 18:44 ` Mark Brown

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.