mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Joe Perches <joe@perches.com>
To: Jiri Kosina <trivial@kernel.org>
Cc: linux-kernel@vger.kernel.org, Liam Girdwood <lrg@slimlogic.co.uk>,
	Mark Brown <broonie@opensource.wolfsonmicro.com>,
	Jaroslav Kysela <perex@perex.cz>, Takashi Iwai <tiwai@suse.de>,
	alsa-devel@alsa-project.org
Subject: [PATCH 35/36] sound/soc/davinci: Remove unnecessary casts of private_data
Date: Mon, 12 Jul 2010 13:50:27 -0700	[thread overview]
Message-ID: <4cdf03e6ab6a80a90be8aff33f8261a3cb367676.1278967121.git.joe@perches.com> (raw)
In-Reply-To: <cover.1278967120.git.joe@perches.com>

Signed-off-by: Joe Perches <joe@perches.com>
---
 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);
-- 
1.7.1.337.g6068.dirty


  parent reply	other threads:[~2010-07-12 20:51 UTC|newest]

Thread overview: 57+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-12 20:49 [PATCH 00/36] " Joe Perches
2010-07-12 20:49 ` [PATCH 01/36] arch/cris: " Joe Perches
2010-07-30 17:24   ` Jesper Nilsson
2010-07-12 20:49 ` [PATCH 02/36] arch/ia64: " Joe Perches
2010-07-12 20:49 ` [PATCH 03/36] arch/powerpc: " Joe Perches
2010-07-12 20:49 ` [PATCH 04/36] arch/s390: " Joe Perches
2010-07-12 20:49 ` [PATCH 05/36] drivers/bluetooth: " Joe Perches
2010-07-12 21:40   ` Marcel Holtmann
2010-07-12 20:49 ` [PATCH 06/36] drivers/char: " Joe Perches
2010-07-12 20:49 ` [PATCH 07/36] drivers/gpu: " Joe Perches
2010-07-12 20:50 ` [PATCH 08/36] drivers/ieee1394: " Joe Perches
2010-07-13  8:25   ` Stefan Richter
2010-07-12 20:50 ` [PATCH 09/36] drivers/infiniband: " Joe Perches
2010-07-13 18:41   ` Ralph Campbell
2010-07-20 15:24     ` Jiri Kosina
2010-07-12 20:50 ` [PATCH 10/36] drivers/isdn: " Joe Perches
2010-07-13  4:13   ` David Miller
2010-07-12 20:50 ` [PATCH 11/36] drivers/media: " Joe Perches
2010-07-12 23:58   ` Jarod Wilson
2010-07-13  8:13   ` Laurent Pinchart
2010-07-12 20:50 ` [PATCH 12/36] drivers/misc: " Joe Perches
2010-07-12 20:50 ` [PATCH 13/36] drivers/net/caif: " Joe Perches
2010-07-13  4:13   ` David Miller
2010-07-12 20:50 ` [PATCH 14/36] drivers/net/wireless: " Joe Perches
2010-07-12 20:50 ` [PATCH 15/36] drivers/s390: " Joe Perches
2010-07-12 20:50 ` [PATCH 16/36] drivers/sbus: " Joe Perches
2010-07-13  4:18   ` David Miller
2010-07-13  5:04     ` Joe Perches
2010-07-12 20:50 ` [PATCH 17/36] drivers/scsi: " Joe Perches
2010-07-12 20:50 ` [PATCH 18/36] drivers/staging: " Joe Perches
2010-07-12 20:50 ` [PATCH 19/36] drivers/usb/gadget: " Joe Perches
2010-07-12 20:50 ` [PATCH 20/36] drivers/usb/misc: " Joe Perches
2010-07-12 20:50 ` [PATCH 21/36] drivers/usb: " Joe Perches
2010-07-12 20:50 ` [PATCH 22/36] fs/cifs: " Joe Perches
2010-07-15  2:41   ` Steve French
2010-07-12 20:50 ` [PATCH 23/36] fs/coda: " Joe Perches
2010-07-12 20:50 ` [PATCH 24/36] fs/ecryptfs: " Joe Perches
2010-07-12 20:50 ` [PATCH 25/36] fs/ext3: " Joe Perches
2010-07-12 20:50 ` [PATCH 26/36] fs/ext4: " Joe Perches
2010-07-23 12:56   ` Ted Ts'o
2010-07-12 20:50 ` [PATCH 27/36] fs/ocfs2: " Joe Perches
2010-07-12 22:37   ` Joel Becker
2010-07-20 15:20     ` Jiri Kosina
2010-07-12 20:50 ` [PATCH 28/36] fs: " Joe Perches
2010-07-12 20:50 ` [PATCH 29/36] kernel/trace: " Joe Perches
2010-07-22 18:58   ` Steven Rostedt
2010-07-12 20:50 ` [PATCH 30/36] kernel: " Joe Perches
2010-07-12 20:50 ` [PATCH 31/36] net/core: " Joe Perches
2010-07-13  4:14   ` David Miller
2010-07-12 20:50 ` [PATCH 32/36] net/irda: " Joe Perches
2010-07-13  4:14   ` David Miller
2010-07-12 20:50 ` [PATCH 33/36] net/sunrpc: " Joe Perches
2010-07-12 20:50 ` [PATCH 34/36] sound/soc/blackfin: " Joe Perches
2010-07-13 10:45   ` Liam Girdwood
2010-07-13 11:38   ` Mark Brown
2010-07-12 20:50 ` Joe Perches [this message]
2010-07-12 20:50 ` [PATCH 36/36] sound/core: " Joe Perches

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4cdf03e6ab6a80a90be8aff33f8261a3cb367676.1278967121.git.joe@perches.com \
    --to=joe@perches.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=broonie@opensource.wolfsonmicro.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lrg@slimlogic.co.uk \
    --cc=perex@perex.cz \
    --cc=tiwai@suse.de \
    --cc=trivial@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®