projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e1d4d3c
)
ASoC: rsnd: fixup index of src/dst mod when capture
author
Kuninori Morimoto
<kuninori.morimoto.gx@renesas.com>
Wed, 11 Jun 2014 06:41:03 +0000
(23:41 -0700)
committer
Mark Brown
<broonie@linaro.org>
Wed, 11 Jun 2014 23:33:44 +0000
(
00:33
+0100)
Index of dma name should use -1, not +1 when capture case.
Thank you Dan.
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
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 91880156e1ae0d9b33436455763cf84efcd4a127..4e86265f625cd389abea56fb27d581b2a68dd205 100644
(file)
--- a/
sound/soc/sh/rcar/core.c
+++ b/
sound/soc/sh/rcar/core.c
@@
-315,7
+315,7
@@
static void rsnd_dma_of_name(struct rsnd_dma *dma,
dst_mod = mod[index];
} else {
src_mod = mod[index];
- dst_mod = mod[index
+
1];
+ dst_mod = mod[index
-
1];
}
index = 0;