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 <lars@metafoo.de>
Acked-by: Ola Lilja <ola.o.lilja@stericsson.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
This commit is contained in:
Lars-Peter Clausen 2013-03-22 14:12:07 +01:00 committed by Mark Brown
parent a85fc1b073
commit ebd59b07ec
1 changed files with 0 additions and 2 deletions

View 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;
}