All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2][RFC] ASoC: add for_each_xxx_codec macro
@ 2018-09-03  2:12 Kuninori Morimoto
  2018-09-03  2:12 ` [PATCH 1/2][RFC] ASoC: add for_each_link_codecs() macro Kuninori Morimoto
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Kuninori Morimoto @ 2018-09-03  2:12 UTC (permalink / raw)
  To: Mark Brown; +Cc: Linux-ALSA


Hi Mark

These are not so important patches.
But current code is using for loop for dai_link codecs
and rtd codec_dai, but I think using for_each_xxx
macro for these can be more readable.
These patches do it.

Kuninori Morimoto (2):
  ASoC: add for_each_link_codecs() macro
  ASoC: add for_each_rtd_codec_dai() macro

 include/sound/soc.h                                |  11 ++
 sound/soc/intel/boards/kbl_rt5663_max98927.c       |   5 +-
 .../soc/intel/boards/kbl_rt5663_rt5514_max98927.c  |   5 +-
 sound/soc/mediatek/mt8173/mt8173-rt5650-rt5514.c   |   5 +-
 sound/soc/mediatek/mt8173/mt8173-rt5650-rt5676.c   |   5 +-
 sound/soc/mediatek/mt8173/mt8173-rt5650.c          |   5 +-
 sound/soc/meson/axg-card.c                         |  11 +-
 sound/soc/soc-core.c                               |  55 ++++----
 sound/soc/soc-dapm.c                               |  14 +-
 sound/soc/soc-pcm.c                                | 154 ++++++++++-----------
 10 files changed, 133 insertions(+), 137 deletions(-)

-- 
2.7.4

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2018-09-04 16:22 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-03  2:12 [PATCH 0/2][RFC] ASoC: add for_each_xxx_codec macro Kuninori Morimoto
2018-09-03  2:12 ` [PATCH 1/2][RFC] ASoC: add for_each_link_codecs() macro Kuninori Morimoto
2018-09-04 16:22   ` Applied "ASoC: add for_each_link_codecs() macro" to the asoc tree Mark Brown
2018-09-03  2:12 ` [PATCH 2/2][RFC] ASoC: add for_each_rtd_codec_dai() macro Kuninori Morimoto
2018-09-04 16:22   ` Applied "ASoC: add for_each_rtd_codec_dai() macro" to the asoc tree Mark Brown
2018-09-03 13:49 ` [PATCH 0/2][RFC] ASoC: add for_each_xxx_codec macro Mark Brown
2018-09-04  0:20   ` Kuninori Morimoto

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.