fix typo issue
Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com>
{
struct snd_pcm_runtime *runtime = substream->runtime;
struct snd_soc_pcm_runtime *rtd = substream->private_data;
- struct imx_pcm_dma_data *dma_data;
+ struct snd_dmaengine_dai_dma_data *dma_data;
struct dma_slave_config config;
struct dma_chan *chan;
int err = 0;
return err;
snd_dmaengine_pcm_set_config_from_dai_data(substream,
- snd_soc_dai_get_dma_data(rtd->cpu_dai, substream),
- &config);
+ dma_data,
+ &config);
return dmaengine_slave_config(chan, &config);
}