summaryrefslogtreecommitdiffstats
path: root/sound/soc/omap
diff options
context:
space:
mode:
authorPeter Ujfalusi <peter.ujfalusi@ti.com>2014-04-01 15:55:10 +0300
committerMark Brown <broonie@linaro.org>2014-04-14 17:24:11 +0100
commit5f04c603a52d4951e6f6b2f059049e7c5ee93db7 (patch)
treef5baa7f51fd9836f01827424e1032725f327004a /sound/soc/omap
parent0bf0e8aeceaf4b12524559fce9c6b91a90b63381 (diff)
ASoC: davinci-mcasp: Configure the AFIFO and DMA burst size at the same place
Move the dma_params->fifo_level and dma_data->maxburst configuration to the mcasp_common_hw_param() function where we configure the AFIFO registers. It makes the code regarding to AFIFO and DMA configuration more easy to follow since it is now clear how the AFIFO and how the DMA is going to be configured. Previously this has been done in two functions using a bit different calculation form - which ended up with the same result in both case at the end, but it was confusing. Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound/soc/omap')
0 files changed, 0 insertions, 0 deletions