From: Lars-Peter Clausen Date: Fri, 22 Mar 2013 13:12:07 +0000 (+0100) Subject: ASoC: ux500_pcm: No need to use snd_dmaengine_pcm_set_data() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ebd59b07ecd9d35d5bc88c91a4878fbb4549ed42;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git 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: Lars-Peter Clausen Acked-by: Ola Lilja Signed-off-by: Mark Brown --- diff --git a/sound/soc/ux500/ux500_pcm.c b/sound/soc/ux500/ux500_pcm.c index d000ba271ca..1ab36fa845c 100644 --- a/sound/soc/ux500/ux500_pcm.c +++ b/sound/soc/ux500/ux500_pcm.c @@ -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; }