ASoC: omap-mcbsp: Use DMA packet mode for non mono streams on OMAP3+
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Thu, 15 Mar 2012 10:20:32 +0000 (12:20 +0200)
committerLiam Girdwood <lrg@ti.com>
Tue, 22 May 2012 16:33:18 +0000 (17:33 +0100)
commit778a17c31fc1c0ecc22c9012747d5249ed6db80f
treed6af1115c4411a29fe677a2a8fb075dd5a3aa492
parent766812e6d5e2e23be1e212cf84902d5e834dd865
ASoC: omap-mcbsp: Use DMA packet mode for non mono streams on OMAP3+

Take the DMA packet mode into use when the McBSP is configured in element
dma_op_mode if the stream is not mono.
In this way we transfer one sample from/to McBSP FIFO upon DMA request.
This change only affects OMAP3+ versions, where the McBSP ports have FIFO.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Jarkko Nikula <jarkko.nikula@bitmer.com>
Signed-off-by: Liam Girdwood <lrg@ti.com>
sound/soc/omap/omap-mcbsp.c