aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/davinci/davinci-pcm.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2010-07-12 16:50:27 -0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2010-07-13 07:34:06 -0400
commit4726a57b8c1ba398399fe69b56dc97c196ab4f6b (patch)
tree90c66e290b16947a008c845671baa45c52f6d576 /sound/soc/davinci/davinci-pcm.c
parent8ff23610a6c2ec8abaab6ae14d9ed8f59c1f944c (diff)
ASoC: Remove unnecessary casts of private_data
Signed-off-by: Joe Perches <joe@perches.com> Acked-by: Liam Girdwood <lrg@slimlogic.co.uk> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/davinci/davinci-pcm.c')
-rw-r--r--sound/soc/davinci/davinci-pcm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/davinci/davinci-pcm.c b/sound/soc/davinci/davinci-pcm.c
index 2dc406f42fe7..def454e42fcb 100644
--- a/sound/soc/davinci/davinci-pcm.c
+++ b/sound/soc/davinci/davinci-pcm.c
@@ -800,7 +800,7 @@ static void davinci_pcm_free(struct snd_pcm *pcm)
800 dma_free_writecombine(pcm->card->dev, buf->bytes, 800 dma_free_writecombine(pcm->card->dev, buf->bytes,
801 buf->area, buf->addr); 801 buf->area, buf->addr);
802 buf->area = NULL; 802 buf->area = NULL;
803 iram_dma = (struct snd_dma_buffer *)buf->private_data; 803 iram_dma = buf->private_data;
804 if (iram_dma) { 804 if (iram_dma) {
805 sram_free(iram_dma->area, iram_dma->bytes); 805 sram_free(iram_dma->area, iram_dma->bytes);
806 kfree(iram_dma); 806 kfree(iram_dma);