]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: rsnd: fixup for_each_rsnd_mod_array{s} iterator increment
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Fri, 20 Jan 2017 04:23:29 +0000 (04:23 +0000)
committerMark Brown <broonie@kernel.org>
Mon, 23 Jan 2017 15:11:42 +0000 (15:11 +0000)
commit10cf4025b056fe9bb0acb9e6a0ed92ca4bb51da7
tree06ab126326765e22e26a66d5272d0694e2ee145c
parent8cd2b40dad6f118d7287346f538ebda48662ad53
ASoC: rsnd: fixup for_each_rsnd_mod_array{s} iterator increment

commit e3e85dded ("ASoC: rsnd: use for_each_rsnd_mod_xxx() ...")
modifies rsnd_dai_call() to use for_each_rsnd_mod_arrays().

Current rsnd is incrementing iterator in rsnd_mod_next(),
but the iterator will indicate +1 position in for_each loop in
this case. Incremental position should be inside for()

Reported-by: Hoan Nguyen An <na-hoan@jinso.co.jp>
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sh/rcar/core.c
sound/soc/sh/rcar/rsnd.h