summaryrefslogtreecommitdiffstats
path: root/sound/soc/davinci/davinci-mcasp.h
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2009-10-03 18:31:22 +0200
committerTakashi Iwai <tiwai@suse.de>2009-10-03 18:31:22 +0200
commita1cb9cd69750d6d62251393738efc02d252b67d3 (patch)
tree5c68b23180e6ca127d1048cdbf723ca447551123 /sound/soc/davinci/davinci-mcasp.h
parent08d1e635089f41e28fec644a8620a0e8d66b1235 (diff)
parent834eb6c599a8efa1fe9b77d469562e0c78c876e1 (diff)
Merge branch 'fix/asoc' into for-linus
Diffstat (limited to 'sound/soc/davinci/davinci-mcasp.h')
-rw-r--r--sound/soc/davinci/davinci-mcasp.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/sound/soc/davinci/davinci-mcasp.h b/sound/soc/davinci/davinci-mcasp.h
index 554354c1cc2..9d179cc88f7 100644
--- a/sound/soc/davinci/davinci-mcasp.h
+++ b/sound/soc/davinci/davinci-mcasp.h
@@ -39,10 +39,15 @@ enum {
};
struct davinci_audio_dev {
+ /*
+ * dma_params must be first because rtd->dai->cpu_dai->private_data
+ * is cast to a pointer of an array of struct davinci_pcm_dma_params in
+ * davinci_pcm_open.
+ */
+ struct davinci_pcm_dma_params dma_params[2];
void __iomem *base;
int sample_rate;
struct clk *clk;
- struct davinci_pcm_dma_params *dma_params[2];
unsigned int codec_fmt;
/* McASP specific data */