From: Xiubo Li
Date: Mon, 20 Jan 2014 07:27:26 +0000 (+0800)
Subject: ASoC: fsl: use snd_soc_dai_init_dma_data()
X-Git-Tag: accepted/tizen/common/20141203.182822~239^2~1^2~5^2~6^6~5
X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=05cf482d7e76bb02138d6b04a94375bc9f86e927;p=platform%2Fkernel%2Flinux-arm64.git
ASoC: fsl: use snd_soc_dai_init_dma_data()
Signed-off-by: Xiubo Li
Acked-by: Nicolin Chen
Signed-off-by: Mark Brown
---
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));