aboutsummaryrefslogtreecommitdiff
path: root/sound/soc/mxs/mxs-spdif-dai.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/mxs/mxs-spdif-dai.c')
-rw-r--r--sound/soc/mxs/mxs-spdif-dai.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/mxs/mxs-spdif-dai.c b/sound/soc/mxs/mxs-spdif-dai.c
index 052c404c496d..1b45b595b90d 100644
--- a/sound/soc/mxs/mxs-spdif-dai.c
+++ b/sound/soc/mxs/mxs-spdif-dai.c
@@ -107,7 +107,7 @@ static int mxs_spdif_startup(struct snd_pcm_substream *substream,
if (playback) {
irq = IRQ_SPDIF_ERROR;
- cpu_dai->dma_data = &mxs_spdif;
+ snd_soc_dai_set_dma_data(cpu_dai, substream, &mxs_spdif);
}
ret = request_irq(irq, mxs_err_irq, 0, "Mxs SPDIF Error",