未验证 提交 138f8786 编写于 作者: K Kuninori Morimoto 提交者: Mark Brown

ASoC: rsnd: don't use io->mod[] directly

We have rsnd_io_to_mod() macro. Let's use it
Signed-off-by: NKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: NMark Brown <broonie@kernel.org>
上级 86d5b2c2
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册