]> asedeno.scripts.mit.edu Git - linux.git/commit
ASoC: add for_each_rtd_codec_dai() macro
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Mon, 3 Sep 2018 02:12:56 +0000 (02:12 +0000)
committerMark Brown <broonie@kernel.org>
Tue, 4 Sep 2018 15:59:11 +0000 (16:59 +0100)
commit0b7990e38971da403ce223d8bdc758a817eb72f8
treeacaec9b0b94b9f7a8823b665cab92502eda84bd8
parent3db769f17714ae65f2faf44ff2bae9d52f4bd46b
ASoC: add for_each_rtd_codec_dai() macro

ALSA SoC snd_soc_pcm_runtime has snd_soc_dai array for codec_dai.
To be more readable code, this patch adds
new for_each_rtd_codec_dai() 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/intel/boards/kbl_rt5663_max98927.c
sound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c
sound/soc/mediatek/mt8173/mt8173-rt5650-rt5514.c
sound/soc/mediatek/mt8173/mt8173-rt5650-rt5676.c
sound/soc/mediatek/mt8173/mt8173-rt5650.c
sound/soc/meson/axg-card.c
sound/soc/soc-core.c
sound/soc/soc-dapm.c
sound/soc/soc-pcm.c