All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
To: Mark Brown <broonie@kernel.org>
Cc: Linux-ALSA <alsa-devel@alsa-project.org>
Subject: [PATCH 0/2][RFC] ASoC: add for_each_xxx_codec macro
Date: Mon, 3 Sep 2018 02:12:05 +0000	[thread overview]
Message-ID: <87lg8jfi94.wl-kuninori.morimoto.gx@renesas.com> (raw)


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

             reply	other threads:[~2018-09-03  2:12 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-03  2:12 Kuninori Morimoto [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87lg8jfi94.wl-kuninori.morimoto.gx@renesas.com \
    --to=kuninori.morimoto.gx@renesas.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=broonie@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.