diff options
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/davinci/davinci-mcasp.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/davinci/davinci-mcasp.c b/sound/soc/davinci/davinci-mcasp.c index 4ddc6d3b6678..8566238db2a5 100644 --- a/sound/soc/davinci/davinci-mcasp.c +++ b/sound/soc/davinci/davinci-mcasp.c | |||
@@ -909,6 +909,7 @@ static int davinci_mcasp_probe(struct platform_device *pdev) | |||
909 | dma_data = &dev->dma_params[SNDRV_PCM_STREAM_PLAYBACK]; | 909 | dma_data = &dev->dma_params[SNDRV_PCM_STREAM_PLAYBACK]; |
910 | dma_data->asp_chan_q = pdata->asp_chan_q; | 910 | dma_data->asp_chan_q = pdata->asp_chan_q; |
911 | dma_data->ram_chan_q = pdata->ram_chan_q; | 911 | dma_data->ram_chan_q = pdata->ram_chan_q; |
912 | dma_data->sram_size = pdata->sram_size_playback; | ||
912 | dma_data->dma_addr = (dma_addr_t) (pdata->tx_dma_offset + | 913 | dma_data->dma_addr = (dma_addr_t) (pdata->tx_dma_offset + |
913 | mem->start); | 914 | mem->start); |
914 | 915 | ||
@@ -925,6 +926,7 @@ static int davinci_mcasp_probe(struct platform_device *pdev) | |||
925 | dma_data = &dev->dma_params[SNDRV_PCM_STREAM_CAPTURE]; | 926 | dma_data = &dev->dma_params[SNDRV_PCM_STREAM_CAPTURE]; |
926 | dma_data->asp_chan_q = pdata->asp_chan_q; | 927 | dma_data->asp_chan_q = pdata->asp_chan_q; |
927 | dma_data->ram_chan_q = pdata->ram_chan_q; | 928 | dma_data->ram_chan_q = pdata->ram_chan_q; |
929 | dma_data->sram_size = pdata->sram_size_capture; | ||
928 | dma_data->dma_addr = (dma_addr_t)(pdata->rx_dma_offset + | 930 | dma_data->dma_addr = (dma_addr_t)(pdata->rx_dma_offset + |
929 | mem->start); | 931 | mem->start); |
930 | 932 | ||