]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9f7a56c1cdbd52e5f4abe41924f4861a11c94333
tree524e368c9d92a09dad6f428392248450ee411331
parentbbc131294a6bdb4be0d0e44f0f47b23e14753ad1
ASoC: omap-mcpdm: Fix threshold and dma configuration

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>
sound/soc/omap/omap-mcpdm.c