]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
MLK-10213-2: ASoC: dmaengine: Merge trigger RESUME to START and SUSPEND to STOP
authorShengjiu Wang <shengjiu.wang@freescale.com>
Mon, 9 Feb 2015 10:21:27 +0000 (18:21 +0800)
committerShengjiu Wang <shengjiu.wang@freescale.com>
Tue, 10 Feb 2015 03:09:17 +0000 (11:09 +0800)
commitf403628ef48e56c77bdf4d5df23e8b37fea0fc34
tree01708d1d516b87cf43306756f4925f1b7ba1fbb2
parent83a61c8270be4690e076445a3f72505011175c82
MLK-10213-2: ASoC: dmaengine: Merge trigger RESUME to START and SUSPEND to STOP

Merged from 2a17c1bbcd83a9d9f6d07bc0545742a59a043ae4

The SDMA driver doesn't support DMA_PAUSE and DMA_RESUME commands.
So this patch use TRIGGER_START for TRIGGER_RESUME and TRIGGER_SUSPEND
for TRIGGER_STOP as a work around so that Audio can normally stop
and restart its corresponding DMA channels.

Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com>
sound/core/pcm_dmaengine.c