diff options
Diffstat (limited to 'sound/soc/davinci/davinci-mcasp.h')
| -rw-r--r-- | sound/soc/davinci/davinci-mcasp.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sound/soc/davinci/davinci-mcasp.h b/sound/soc/davinci/davinci-mcasp.h index 554354c1cc2f..9d179cc88f7b 100644 --- a/sound/soc/davinci/davinci-mcasp.h +++ b/sound/soc/davinci/davinci-mcasp.h | |||
| @@ -39,10 +39,15 @@ enum { | |||
| 39 | }; | 39 | }; |
| 40 | 40 | ||
| 41 | struct davinci_audio_dev { | 41 | struct davinci_audio_dev { |
| 42 | /* | ||
| 43 | * dma_params must be first because rtd->dai->cpu_dai->private_data | ||
| 44 | * is cast to a pointer of an array of struct davinci_pcm_dma_params in | ||
| 45 | * davinci_pcm_open. | ||
| 46 | */ | ||
| 47 | struct davinci_pcm_dma_params dma_params[2]; | ||
| 42 | void __iomem *base; | 48 | void __iomem *base; |
| 43 | int sample_rate; | 49 | int sample_rate; |
| 44 | struct clk *clk; | 50 | struct clk *clk; |
| 45 | struct davinci_pcm_dma_params *dma_params[2]; | ||
| 46 | unsigned int codec_fmt; | 51 | unsigned int codec_fmt; |
| 47 | 52 | ||
| 48 | /* McASP specific data */ | 53 | /* McASP specific data */ |
