]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ASoC: rcar: fixup dma_async_issue_pending() timing
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Mon, 18 Nov 2013 02:45:16 +0000 (18:45 -0800)
committerMark Brown <broonie@linaro.org>
Tue, 19 Nov 2013 19:07:15 +0000 (19:07 +0000)
DMAEngine will stall without this patch

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/sh/rcar/core.c

index 2e09ee8d2500091df7413df8bc26075016b8de86..4e55f9d9ef43d5ed99c6eefa651e5e8773c6f28a 100644 (file)
@@ -199,9 +199,8 @@ static void rsnd_dma_do_work(struct work_struct *work)
                        return;
                }
 
+               dma_async_issue_pending(dma->chan);
        }
-
-       dma_async_issue_pending(dma->chan);
 }
 
 int rsnd_dma_available(struct rsnd_dma *dma)