summaryrefslogtreecommitdiffstats
path: root/sound/soc/sh
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2017-10-31 01:38:09 +0100
committerMark Brown <broonie@kernel.org>2017-10-31 12:06:30 +0100
commit138f878647f2ac0d7700f669b860cb130306e062 (patch)
tree48b885f3612ac62516704cf86d728ae8f72c7a60 /sound/soc/sh
parentASoC: audio-graph-scu-card: remove unnecessary route patch from Example 1 (diff)
downloadlinux-138f878647f2ac0d7700f669b860cb130306e062.tar.xz
linux-138f878647f2ac0d7700f669b860cb130306e062.zip
ASoC: rsnd: don't use io->mod[] directly
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>
Diffstat (limited to 'sound/soc/sh')
-rw-r--r--sound/soc/sh/rcar/core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/sh/rcar/core.c b/sound/soc/sh/rcar/core.c
index e9b0b0f5f0ee..b338c0009506 100644
--- 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;