diff options
Diffstat (limited to 'sound/soc/mxs/mxs-adc.c')
-rw-r--r-- | sound/soc/mxs/mxs-adc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/mxs/mxs-adc.c b/sound/soc/mxs/mxs-adc.c index 7069927b1ac3..cd5e93ce9d67 100644 --- a/sound/soc/mxs/mxs-adc.c +++ b/sound/soc/mxs/mxs-adc.c @@ -336,10 +336,10 @@ static int mxs_adc_startup(struct snd_pcm_substream *substream, if (playback) { irq = IRQ_DAC_ERROR; - cpu_dai->dma_data = &mxs_audio_out; + snd_soc_dai_set_dma_data(dai, substream, &mxs_audio_out); } else { irq = IRQ_ADC_ERROR; - cpu_dai->dma_data = &mxs_audio_in; + snd_soc_dai_set_dma_data(dai, substream, &mxs_audio_in); } ret = request_irq(irq, mxs_err_irq, 0, "MXS DAC/ADC Error", |