]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: rsnd: use for_each_rsnd_mod_xxx() on rsnd_dai_call()
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Wed, 19 Oct 2016 03:57:08 +0000 (03:57 +0000)
committerMark Brown <broonie@kernel.org>
Mon, 24 Oct 2016 17:23:29 +0000 (18:23 +0100)
commite973b83c390408e8e0498689844b2e435f489be0
treeecde5e7d65f951f4604e043fbead6961bd260413
parent81d0f80b952d39bd2c13a10226ebef91f90aac80
ASoC: rsnd: use for_each_rsnd_mod_xxx() on rsnd_dai_call()

Current rsnd driver is using too complex macro for for-loop of each mod.
rsnd_dai_call() is especially defined as very complex macro.
It is easier to read just a little bit by using for_each_rsnd_mod_xxx()
and new rsnd_status_update()

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sh/rcar/core.c