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-Url: https://git.stricted.de/?a=commitdiff_plain;h=05cf482d7e76bb02138d6b04a94375bc9f86e927;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.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 4d075f1abe78..8f36f49395dd 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));