ASoC: ux500_pcm: No need to use snd_dmaengine_pcm_set_data()
authorLars-Peter Clausen <lars@metafoo.de>
Fri, 22 Mar 2013 13:12:07 +0000 (14:12 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 26 Mar 2013 14:15:38 +0000 (14:15 +0000)
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 <lars@metafoo.de>
Acked-by: Ola Lilja <ola.o.lilja@stericsson.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/ux500/ux500_pcm.c

index d000ba271cab6d2f6f827a25e8e260dd2b9b9463..1ab36fa845cd2733f51895336f80334cd352ff90 100644 (file)
@@ -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;
 }