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>
This commit is contained in:
parent
86d5b2c20d
commit
138f878647
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user