提交 ebd59b07 编写于 作者: L Lars-Peter Clausen 提交者: Mark Brown

ASoC: ux500_pcm: No need to use snd_dmaengine_pcm_set_data()

The driver never uses snd_dmaengine_pcm_get_data(), so there is no need to use
snd_dmaengine_pcm_set_data().
Signed-off-by: NLars-Peter Clausen <lars@metafoo.de>
Acked-by: NOla Lilja <ola.o.lilja@stericsson.com>
Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
上级 a85fc1b0
......@@ -155,8 +155,6 @@ static int ux500_pcm_open(struct snd_pcm_substream *substream)
return ret;
}
snd_dmaengine_pcm_set_data(substream, dma_cfg);
return 0;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册