summaryrefslogtreecommitdiffstats
path: root/sound/soc/sh
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2017-10-31 00:38:09 +0000
committerMark Brown <broonie@kernel.org>2017-10-31 11:06:30 +0000
commit138f878647f2ac0d7700f669b860cb130306e062 (patch)
tree48b885f3612ac62516704cf86d728ae8f72c7a60 /sound/soc/sh
parent86d5b2c20d8ec255ef7646533b81dabc935e0eff (diff)
downloadop-kernel-dev-138f878647f2ac0d7700f669b860cb130306e062.zip
op-kernel-dev-138f878647f2ac0d7700f669b860cb130306e062.tar.gz
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 e9b0b0f..b338c00 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;
OpenPOWER on IntegriCloud