Skip to content

Commit

Permalink
ASoC: ux500_pcm: No need to use snd_dmaengine_pcm_set_data()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Lars-Peter Clausen authored and Mark Brown committed Mar 26, 2013
1 parent a85fc1b commit ebd59b0
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions sound/soc/ux500/ux500_pcm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit ebd59b0

Please sign in to comment.