diff options
author | Joe Perches <joe@perches.com> | 2010-07-12 13:50:27 -0700 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2010-07-13 12:34:06 +0100 |
commit | 4726a57b8c1ba398399fe69b56dc97c196ab4f6b (patch) | |
tree | 90c66e290b16947a008c845671baa45c52f6d576 /sound/soc/davinci | |
parent | 8ff23610a6c2ec8abaab6ae14d9ed8f59c1f944c (diff) | |
download | op-kernel-dev-4726a57b8c1ba398399fe69b56dc97c196ab4f6b.zip op-kernel-dev-4726a57b8c1ba398399fe69b56dc97c196ab4f6b.tar.gz |
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')
-rw-r--r-- | sound/soc/davinci/davinci-pcm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/davinci/davinci-pcm.c b/sound/soc/davinci/davinci-pcm.c index 2dc406f..def454e 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) 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); |