projects
/
platform
/
kernel
/
linux-exynos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8ff2361
)
ASoC: Remove unnecessary casts of private_data
author
Joe Perches
<joe@perches.com>
Mon, 12 Jul 2010 20:50:27 +0000
(13:50 -0700)
committer
Mark Brown
<broonie@opensource.wolfsonmicro.com>
Tue, 13 Jul 2010 11:34:06 +0000
(12:34 +0100)
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>
sound/soc/davinci/davinci-pcm.c
patch
|
blob
|
history
diff --git
a/sound/soc/davinci/davinci-pcm.c
b/sound/soc/davinci/davinci-pcm.c
index
2dc406f
..
def454e
100644
(file)
--- 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)
dma_free_writecombine(pcm->card->dev, buf->bytes,
buf->area, buf->addr);
buf->area = NULL;
- iram_dma =
(struct snd_dma_buffer *)
buf->private_data;
+ iram_dma = buf->private_data;
if (iram_dma) {
sram_free(iram_dma->area, iram_dma->bytes);
kfree(iram_dma);