All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
To: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Cc: Linux-ALSA <alsa-devel@alsa-project.org>,
	Mark Brown <broonie@kernel.org>
Subject: Re: [alsa-devel] [PATCH v2 10/10] ASoC: soc.h: add for_each_pcm_streams()
Date: 17 Feb 2020 08:59:50 +0900	[thread overview]
Message-ID: <87imk6axsr.wl-kuninori.morimoto.gx@renesas.com> (raw)
In-Reply-To: <b6d8a1f0-d918-2e85-a603-820c0cd9603e@linux.intel.com>


Hi Pierre-Louis

> > ALSA SoC has SNDRV_PCM_STREAM_PLAYBACK/CAPTURE everywhere.
> > Having for_each_xxxx macro is useful.
> > This patch adds for_each_pcm_streams() for it.
> > 
> > Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
> > ---
> > v1 -> v2
> > 
> > 	- macro is implemented at sound/pcm.h
> > 	- care more files
> > 
> >   include/sound/pcm.h                   |  5 ++
> >   sound/soc/dwc/dwc-i2s.c               |  8 +--
> >   sound/soc/fsl/fsl_asrc_dma.c          |  4 +-
> >   sound/soc/qcom/lpass-platform.c       |  2 +-
> >   sound/soc/soc-core.c                  | 31 ++++-----
> >   sound/soc/soc-generic-dmaengine-pcm.c |  8 +--
> >   sound/soc/soc-pcm.c                   | 97 ++++++++++-----------------
> >   sound/soc/sof/sof-audio.c             | 19 ++----
> >   sound/usb/usx2y/usbusx2yaudio.c       |  9 +--
> 
> Morimoto-san, could you split this last patch in core changes and then
> one patch for each hardware?
> 
> It's not fun for people doing backports to deal with completely
> unrelated platforms. If we have one patch per hardware, then it's much
> easier to avoid conflicts and it helps minimize the number of patches
> to be maintained.

Ahh, OK.
Will do in v3

Thank you for your help !!
Best regards
---
Kuninori Morimoto
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
https://mailman.alsa-project.org/mailman/listinfo/alsa-devel

  reply	other threads:[~2020-02-17  0:00 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-14  2:35 [alsa-devel] [PATCH v2 00/10] ASoC: soc-pcm cleanup step3 Kuninori Morimoto
2020-02-14  2:35 ` [alsa-devel] [PATCH v2 01/10] ASoC: soc-pcm: move dai_get_widget() Kuninori Morimoto
2020-02-14  2:35 ` [alsa-devel] [PATCH v2 02/10] ASoC: soc-pcm: use dai_get_widget() at dpcm_get_be() Kuninori Morimoto
2020-02-14  2:35 ` [alsa-devel] [PATCH v2 03/10] ASoC: soc-pcm: use dai_get_widget() at dpcm_end_walk_at_be() Kuninori Morimoto
2020-02-14  2:35 ` [alsa-devel] [PATCH v2 04/10] ASoC: soc-pcm: use dpcm_get_be() " Kuninori Morimoto
2020-02-14  2:35 ` [alsa-devel] [PATCH v2 05/10] ASoC: soc-pcm: remove soc_dpcm_be_digital_mute() Kuninori Morimoto
2020-02-14  2:35 ` [alsa-devel] [PATCH v2 06/10] ASoC: soc-pcm: remove snd_soc_dpcm_be_get/set_state() Kuninori Morimoto
2020-02-14  2:35 ` [alsa-devel] [PATCH v2 07/10] ASoC: soc-pcm: add snd_soc_dpcm_can_be() and remove duplicate code Kuninori Morimoto
2020-02-14  2:35 ` [alsa-devel] [PATCH v2 08/10] ASoC: soc-pcm: use goto and remove multi return Kuninori Morimoto
2020-02-14  2:36 ` [alsa-devel] [PATCH v2 09/10] ASoC: soc-pcm: merge playback/cature_active into stream_active Kuninori Morimoto
2020-02-14  2:36 ` [alsa-devel] [PATCH v2 10/10] ASoC: soc.h: add for_each_pcm_streams() Kuninori Morimoto
2020-02-14 14:32   ` Pierre-Louis Bossart
2020-02-16 23:59     ` Kuninori Morimoto [this message]
2020-02-14 17:10 ` [alsa-devel] [PATCH v2 00/10] ASoC: soc-pcm cleanup step3 Ranjani Sridharan

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=87imk6axsr.wl-kuninori.morimoto.gx@renesas.com \
    --to=kuninori.morimoto.gx@renesas.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=broonie@kernel.org \
    --cc=pierre-louis.bossart@linux.intel.com \
    /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.