summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2013-03-22 17:12:07 +0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2013-03-26 18:15:38 +0400
commitebd59b07ecd9d35d5bc88c91a4878fbb4549ed42 (patch)
tree6d388adc3b69135388f94dd8c72157bb56e494bd /sound
parenta85fc1b073406b3848661fcbb452497930dcc8af (diff)
downloadlinux-ebd59b07ecd9d35d5bc88c91a4878fbb4549ed42.tar.xz
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>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/ux500/ux500_pcm.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sound/soc/ux500/ux500_pcm.c b/sound/soc/ux500/ux500_pcm.c
index d000ba271cab..1ab36fa845cd 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;
}