diff options
Diffstat (limited to 'sound/soc/davinci/davinci-i2s.c')
-rw-r--r-- | sound/soc/davinci/davinci-i2s.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/soc/davinci/davinci-i2s.c b/sound/soc/davinci/davinci-i2s.c index 12a6c549ee6e..d32e1974fdf2 100644 --- a/sound/soc/davinci/davinci-i2s.c +++ b/sound/soc/davinci/davinci-i2s.c | |||
@@ -353,8 +353,9 @@ static int davinci_i2s_hw_params(struct snd_pcm_substream *substream, | |||
353 | struct snd_pcm_hw_params *params, | 353 | struct snd_pcm_hw_params *params, |
354 | struct snd_soc_dai *dai) | 354 | struct snd_soc_dai *dai) |
355 | { | 355 | { |
356 | struct davinci_pcm_dma_params *dma_params = dai->dma_data; | ||
357 | struct davinci_mcbsp_dev *dev = dai->private_data; | 356 | struct davinci_mcbsp_dev *dev = dai->private_data; |
357 | struct davinci_pcm_dma_params *dma_params = | ||
358 | dev->dma_params[substream->stream]; | ||
358 | struct snd_interval *i = NULL; | 359 | struct snd_interval *i = NULL; |
359 | int mcbsp_word_length; | 360 | int mcbsp_word_length; |
360 | unsigned int rcr, xcr, srgr; | 361 | unsigned int rcr, xcr, srgr; |