ASoC: rsnd: add rsnd_mod_next() for for_each_rsnd_mod_xxx()
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Wed, 19 Oct 2016 03:56:46 +0000 (03:56 +0000)
committerMark Brown <broonie@kernel.org>
Mon, 24 Oct 2016 17:23:29 +0000 (18:23 +0100)
commitb3ca3fbeb229890e8de569d1b34cd46fcb95826c
tree3ce069ad57f300b0df1fc8844ddfbeccbe19cd3a
parent0af5c01a79ade438698af683511803fc11291360
ASoC: rsnd: add rsnd_mod_next() for for_each_rsnd_mod_xxx()

Current rsnd driver is using too complex macro for for-loop of each mod.
In order to simplify this issue, this patch adds new rsnd_mod_next()
which is non-macro.

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