]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: add for_each_link_codecs() macro
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Mon, 3 Sep 2018 02:12:40 +0000 (02:12 +0000)
committerMark Brown <broonie@kernel.org>
Tue, 4 Sep 2018 15:59:11 +0000 (16:59 +0100)
commit2007886dd5c44af8323012cd6771bc4486700d57
tree006474c276d60c9d5c5b515487dac83ce28b0977
parent3187e029b2ac4afa319387fb9a07ee9ab02f26ac
ASoC: add for_each_link_codecs() macro

ALSA SoC snd_soc_dai_link has snd_soc_dai_link_component array
for codecs.
To be more readable code, this patch adds
new for_each_link_codecs() macro, and replace existing code to it.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/soc.h
sound/soc/meson/axg-card.c
sound/soc/soc-core.c