| From 7b4d99db388ad23d29f3e41559811ab5d85ea27b Mon Sep 17 00:00:00 2001 |
| From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> |
| Date: Sun, 17 Nov 2013 18:45:16 -0800 |
| Subject: ASoC: rcar: fixup dma_async_issue_pending() timing |
| |
| DMAEngine will stall without this patch |
| |
| Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> |
| Signed-off-by: Mark Brown <broonie@linaro.org> |
| (cherry picked from commit a0d32bca511fd6b570e964ca38a0c3dcd9eacafb) |
| Signed-off-by: Simon Horman <horms+renesas@verge.net.au> |
| --- |
| sound/soc/sh/rcar/core.c | 3 +-- |
| 1 file changed, 1 insertion(+), 2 deletions(-) |
| |
| diff --git a/sound/soc/sh/rcar/core.c b/sound/soc/sh/rcar/core.c |
| index ae1a5ed8974e..eb746e74b52d 100644 |
| --- a/sound/soc/sh/rcar/core.c |
| +++ b/sound/soc/sh/rcar/core.c |
| @@ -245,9 +245,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) |
| -- |
| 1.8.5.rc3 |
| |