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>
Showing
- include/sound/soc.h 7 additions, 0 deletionsinclude/sound/soc.h
- sound/soc/intel/boards/kbl_rt5663_max98927.c 2 additions, 3 deletionssound/soc/intel/boards/kbl_rt5663_max98927.c
- sound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c 2 additions, 3 deletionssound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c
- sound/soc/mediatek/mt8173/mt8173-rt5650-rt5514.c 2 additions, 3 deletionssound/soc/mediatek/mt8173/mt8173-rt5650-rt5514.c
- sound/soc/mediatek/mt8173/mt8173-rt5650-rt5676.c 2 additions, 3 deletionssound/soc/mediatek/mt8173/mt8173-rt5650-rt5676.c
- sound/soc/mediatek/mt8173/mt8173-rt5650.c 2 additions, 3 deletionssound/soc/mediatek/mt8173/mt8173-rt5650.c
- sound/soc/meson/axg-card.c 2 additions, 4 deletionssound/soc/meson/axg-card.c
- sound/soc/soc-core.c 19 additions, 19 deletionssound/soc/soc-core.c
- sound/soc/soc-dapm.c 8 additions, 6 deletionssound/soc/soc-dapm.c
- sound/soc/soc-pcm.c 72 additions, 82 deletionssound/soc/soc-pcm.c
Loading
Please register or sign in to comment