From: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
To: Rander Wang <rander.wang@linux.intel.com>, broonie@kernel.org
Cc: alsa-devel@alsa-project.org
Subject: Re: [PATCH] ASoC: Intel: Haswell/Broadwell: fix setting for .dynamic field
Date: Tue, 18 Dec 2018 08:03:04 -0600 [thread overview]
Message-ID: <f5fa4780-9cd5-b913-8d8f-bfb5cf45b2b1@linux.intel.com> (raw)
In-Reply-To: <20181218082454.49373-1-rander.wang@linux.intel.com>
On 12/18/18 2:24 AM, Rander Wang wrote:
> For some reason this field was set to zero when all other drivers use
> .dynamic = 1 for front-ends. This change was tested on Dell XPS13 and
> has no impact with the existing legacy driver. The SOF driver also works
> with this change which enables it to override the fixed topology.
>
> Signed-off-by: Rander Wang <rander.wang@linux.intel.com>
Acked-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Note that this change is not needed for the bdw-rt5677 machine driver,
the "Loopback" front-end is not exposed.
> ---
> sound/soc/intel/boards/broadwell.c | 2 +-
> sound/soc/intel/boards/haswell.c | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/sound/soc/intel/boards/broadwell.c b/sound/soc/intel/boards/broadwell.c
> index 68e6543e6cb0..99f2a0156ae8 100644
> --- a/sound/soc/intel/boards/broadwell.c
> +++ b/sound/soc/intel/boards/broadwell.c
> @@ -192,7 +192,7 @@ static struct snd_soc_dai_link broadwell_rt286_dais[] = {
> .stream_name = "Loopback",
> .cpu_dai_name = "Loopback Pin",
> .platform_name = "haswell-pcm-audio",
> - .dynamic = 0,
> + .dynamic = 1,
> .codec_name = "snd-soc-dummy",
> .codec_dai_name = "snd-soc-dummy-dai",
> .trigger = {SND_SOC_DPCM_TRIGGER_POST, SND_SOC_DPCM_TRIGGER_POST},
> diff --git a/sound/soc/intel/boards/haswell.c b/sound/soc/intel/boards/haswell.c
> index eab1f439dd3f..a4022983a7ce 100644
> --- a/sound/soc/intel/boards/haswell.c
> +++ b/sound/soc/intel/boards/haswell.c
> @@ -146,7 +146,7 @@ static struct snd_soc_dai_link haswell_rt5640_dais[] = {
> .stream_name = "Loopback",
> .cpu_dai_name = "Loopback Pin",
> .platform_name = "haswell-pcm-audio",
> - .dynamic = 0,
> + .dynamic = 1,
> .codec_name = "snd-soc-dummy",
> .codec_dai_name = "snd-soc-dummy-dai",
> .trigger = {SND_SOC_DPCM_TRIGGER_POST, SND_SOC_DPCM_TRIGGER_POST},
next prev parent reply other threads:[~2018-12-18 14:03 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-12-18 8:24 [PATCH] ASoC: Intel: Haswell/Broadwell: fix setting for .dynamic field Rander Wang
2018-12-18 14:03 ` Pierre-Louis Bossart [this message]
2018-12-19 17:48 ` Applied "ASoC: Intel: Haswell/Broadwell: fix setting for .dynamic field" to the asoc tree Mark Brown
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=f5fa4780-9cd5-b913-8d8f-bfb5cf45b2b1@linux.intel.com \
--to=pierre-louis.bossart@linux.intel.com \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@kernel.org \
--cc=rander.wang@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox