projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
64eae98
)
ASoC: rsnd: fixup loop exit timing of dma name search
author
Kuninori Morimoto
<kuninori.morimoto.gx@renesas.com>
Wed, 18 Jun 2014 08:55:09 +0000
(17:55 +0900)
committer
Mark Brown
<broonie@linaro.org>
Wed, 18 Jun 2014 10:07:09 +0000
(11:07 +0100)
Current dma name search loop didn't care about SSI index
This patch fixes it.
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/sh/rcar/core.c
patch
|
blob
|
history
diff --git
a/sound/soc/sh/rcar/core.c
b/sound/soc/sh/rcar/core.c
index
4e86265
..
ed76901
100644
(file)
--- a/
sound/soc/sh/rcar/core.c
+++ b/
sound/soc/sh/rcar/core.c
@@
-297,7
+297,6
@@
static void rsnd_dma_of_name(struct rsnd_dma *dma,
for (i = 1; i < MOD_MAX; i++) {
if (!src) {
mod[i] = ssi;
- break;
} else if (!dvc) {
mod[i] = src;
src = NULL;
@@
-308,6
+307,9
@@
static void rsnd_dma_of_name(struct rsnd_dma *dma,
if (mod[i] == this)
index = i;
+
+ if (mod[i] == ssi)
+ break;
}
if (is_play) {