[alsa-devel] [PATCH 07/14] ASoC: ux500_pcm: No need to use snd_dmaengine_pcm_set_data()

Lars-Peter Clausen lars at metafoo.de
Fri Mar 22 14:12:07 CET 2013


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 at metafoo.de>
Cc: Ola Lilja <ola.o.lilja at stericsson.com>
---
 sound/soc/ux500/ux500_pcm.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/sound/soc/ux500/ux500_pcm.c b/sound/soc/ux500/ux500_pcm.c
index d000ba2..1ab36fa 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;
 }
 
-- 
1.8.0



More information about the Alsa-devel mailing list