ASoC: rcar: fixup dma_async_issue_pending() timing

Linux-MTD Mailing List linux-mtd at lists.infradead.org
Fri Nov 22 17:59:12 EST 2013


Gitweb:     http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=a0d32bca511fd6b570e964ca38a0c3dcd9eacafb
Commit:     a0d32bca511fd6b570e964ca38a0c3dcd9eacafb
Parent:     b5f3d7af286a28e2fcc92debaba40844cb32bfb4
Author:     Kuninori Morimoto <kuninori.morimoto.gx at renesas.com>
AuthorDate: Sun Nov 17 18:45:16 2013 -0800
Committer:  Mark Brown <broonie at linaro.org>
CommitDate: Tue Nov 19 19:07:15 2013 +0000

    ASoC: rcar: fixup dma_async_issue_pending() timing
    
    DMAEngine will stall without this patch
    
    Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx at renesas.com>
    Signed-off-by: Mark Brown <broonie at linaro.org>
---
 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 2e09ee8..4e55f9d 100644
--- a/sound/soc/sh/rcar/core.c
+++ b/sound/soc/sh/rcar/core.c
@@ -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)



More information about the linux-mtd-cvs mailing list