diff mbox

ASoC: rcar: fixup dma_async_issue_pending() timing

Message ID 87k3g677if.wl%kuninori.morimoto.gx@renesas.com (mailing list archive)
State Accepted
Commit a0d32bca511fd6b570e964ca38a0c3dcd9eacafb
Headers show

Commit Message

Kuninori Morimoto Nov. 18, 2013, 2:45 a.m. UTC
DMAEngine will stall without this patch

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
---
 sound/soc/sh/rcar/core.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Comments

Mark Brown Nov. 19, 2013, 7:07 p.m. UTC | #1
On Sun, Nov 17, 2013 at 06:45:16PM -0800, Kuninori Morimoto wrote:
> DMAEngine will stall without this patch
> 
> Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>

Applied, thanks.
diff mbox

Patch

diff --git a/sound/soc/sh/rcar/core.c b/sound/soc/sh/rcar/core.c
index 78c35b4..f57e519 100644
--- a/sound/soc/sh/rcar/core.c
+++ b/sound/soc/sh/rcar/core.c
@@ -200,9 +200,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)