diff mbox

[RFC,2/3] Fix "ASoC: dmaengine: Don't use runtime private data for dmaengine data"

Message ID E1T8Zzp-0002vv-7e@rmk-PC.arm.linux.org.uk (mailing list archive)
State New, archived
Headers show

Commit Message

Russell King Sept. 3, 2012, 4:59 p.m. UTC
The above commit was not initializing the correct substream runtime
member with the ASoC DMA engine runtime data.  Fix that.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
---
 sound/soc/soc-dmaengine-pcm.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff mbox

Patch

diff --git a/sound/soc/soc-dmaengine-pcm.c b/sound/soc/soc-dmaengine-pcm.c
index 27fa5ad..6fb9a2a 100644
--- a/sound/soc/soc-dmaengine-pcm.c
+++ b/sound/soc/soc-dmaengine-pcm.c
@@ -293,7 +293,7 @@  int snd_dmaengine_pcm_open(struct snd_pcm_substream *substream,
 		return ret;
 	}
 
-	substream->runtime->private_data = prtd;
+	substream->runtime->dmaengine_data = prtd;
 
 	return 0;
 }