projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
86d5b2c
)
ASoC: rsnd: don't use io->mod[] directly
author
Kuninori Morimoto
<kuninori.morimoto.gx@renesas.com>
Tue, 31 Oct 2017 00:38:09 +0000
(
00:38
+0000)
committer
Mark Brown
<broonie@kernel.org>
Tue, 31 Oct 2017 11:06:30 +0000
(11:06 +0000)
We have rsnd_io_to_mod() macro. Let's use it
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.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 e9b0b0f5f0eea686c7ed3e454ce3ce3d65ae6712..b338c0009506473e34800ce086045cb5bb6f214a 100644
(file)
--- a/
sound/soc/sh/rcar/core.c
+++ b/
sound/soc/sh/rcar/core.c
@@
-407,7
+407,7
@@
struct rsnd_mod *rsnd_mod_next(int *iterator,
for (; *iterator < max; (*iterator)++) {
type = (array) ? array[*iterator] : *iterator;
- mod =
io->mod[type]
;
+ mod =
rsnd_io_to_mod(io, type)
;
if (!mod)
continue;