]> git.karo-electronics.de Git - linux-beck.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)
commitb199adfdff98092b16f67860013fb5263579c476
tree524e368c9d92a09dad6f428392248450ee411331
parentd05e2ea8dcf5e30de3d5607abf44883ef17d589d
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