ASoC: i.MX: Add missing dma_async_issue_pending
authorSascha Hauer <s.hauer@pengutronix.de>
Mon, 9 Jan 2012 09:32:48 +0000 (10:32 +0100)
committerVinod Koul <vinod.koul@linux.intel.com>
Mon, 30 Jan 2012 09:04:11 +0000 (14:34 +0530)
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Vinod Koul <vinod.koul@linux.intel.com>
sound/soc/imx/imx-pcm-dma-mx2.c

index 5780c9b9d569cf78f82edb63104322c896b7c234..1acfd25e107df0c3492854f554ecaba06664f7f3 100644 (file)
@@ -206,6 +206,7 @@ static int snd_imx_pcm_trigger(struct snd_pcm_substream *substream, int cmd)
        case SNDRV_PCM_TRIGGER_RESUME:
        case SNDRV_PCM_TRIGGER_PAUSE_RELEASE:
                dmaengine_submit(iprtd->desc);
+               dma_async_issue_pending(iprtd->dma_chan);
 
                break;