ASoC: omap-mcpdm: Fix threshold and dma configuration
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Tue, 2 Aug 2011 10:35:30 +0000 (13:35 +0300)
committerPeter Ujfalusi <peter.ujfalusi@ti.com>
Thu, 22 Sep 2011 06:19:15 +0000 (09:19 +0300)
DMA packet_size must be configured based on the McPDM FIFO threshold
value, number of channels.
Due to the FIFO operation the DMA muse be configured differently for
playback, and capture.
At the same time fix the McPDM threshold values used for playback, and
capture to avoid broken code.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Liam Girdwood <lrg@ti.com>

No differences found