From: Cezary Rojewski <cezary.rojewski@intel.com>
To: Mateusz Gorski <mateusz.gorski@linux.intel.com>,
alsa-devel@alsa-project.org
Cc: Pavan K <pavan.k.s@intel.com>, tiwai@suse.com
Subject: Re: [PATCH v2 2/3] ASoC: Intel: Multiple I/O PCM format support for pipe
Date: Thu, 23 Apr 2020 12:46:05 +0200 [thread overview]
Message-ID: <3e2a9e70-add2-77d4-58ae-4e64ac92efe4@intel.com> (raw)
In-Reply-To: <20200422120532.31492-3-mateusz.gorski@linux.intel.com>
On 2020-04-22 14:05, Mateusz Gorski wrote:
> For pipes supporting multiple input/output formats, kcontrol is
> created and selection of pipe input and output configuration
> is done based on control set.
>
> If more than one configuration is supported, then this patch
> allows user to select configuration of choice
> using amixer settings.
>
> diff --git a/sound/soc/intel/skylake/skl-topology.c b/sound/soc/intel/skylake/skl-topology.c
> index 58f77b6c5cda..2e6eca619c4e 100644
> --- a/sound/soc/intel/skylake/skl-topology.c
> +++ b/sound/soc/intel/skylake/skl-topology.c
> @@ -579,6 +579,38 @@ static int skl_tplg_unload_pipe_modules(struct skl_dev *skl,
> return ret;
> }
>
> +static bool skl_tplg_is_multi_fmt(struct skl_dev *skl, struct skl_pipe *pipe)
> +{
> + int i;
> + struct skl_pipe_fmt *cur_fmt;
> + struct skl_pipe_fmt *next_fmt;
> +
Hmm, some code-cosmetics are left unattended too.
Please reorder 'i' declaration to the bottom.
next prev parent reply other threads:[~2020-04-23 10:47 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-22 12:05 [PATCH v2 0/3] Add support for different DMIC configurations Mateusz Gorski
2020-04-22 12:05 ` [PATCH v2 1/3] ASoC: Intel: Skylake: Add alternative topology binary name Mateusz Gorski
2020-04-23 10:48 ` Cezary Rojewski
2020-04-22 12:05 ` [PATCH v2 2/3] ASoC: Intel: Multiple I/O PCM format support for pipe Mateusz Gorski
2020-04-23 10:46 ` Cezary Rojewski [this message]
2020-04-22 12:05 ` [PATCH v2 3/3] ASoC: Intel: Skylake: Automatic DMIC format configuration according to information from NHLT Mateusz Gorski
2020-04-23 9:11 ` [PATCH v2 0/3] Add support for different DMIC configurations Cezary Rojewski
2020-04-23 10:21 ` Mark Brown
2020-04-23 10:42 ` Cezary Rojewski
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=3e2a9e70-add2-77d4-58ae-4e64ac92efe4@intel.com \
--to=cezary.rojewski@intel.com \
--cc=alsa-devel@alsa-project.org \
--cc=mateusz.gorski@linux.intel.com \
--cc=pavan.k.s@intel.com \
--cc=tiwai@suse.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox