]> git.karo-electronics.de Git - karo-tx-linux.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)
commit5f222a29212cac3b64e7da8657d4404cc8201595
treeecde5e7d65f951f4604e043fbead6961bd260413
parentb3ca3fbeb229890e8de569d1b34cd46fcb95826c
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