ASoC: generic-dmaengine-pcm: Add support for half-duplex
authorLars-Peter Clausen <lars@metafoo.de>
Sat, 20 Apr 2013 17:29:00 +0000 (19:29 +0200)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 22 Apr 2013 10:27:04 +0000 (11:27 +0100)
commitd1e1406c6ed0b92200a7de2a09fbab65661dba3c
treeb29e9b0f9c068b97e3318a5dbafa0c75cf710399
parent22f38f792ec53e2a93be13ecb609bbe911ed8ff9
ASoC: generic-dmaengine-pcm: Add support for half-duplex

Some platforms which are half-duplex share the same DMA channel between the
playback and capture stream. Add support for this to the generic dmaengine PCM
driver.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Tested-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
include/sound/dmaengine_pcm.h
sound/soc/soc-generic-dmaengine-pcm.c