From: Takashi Iwai <tiwai@suse.de>
To: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Cc: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>,
alsa-devel@alsa-project.org, daniel.baluta@nxp.com,
ranjani.sridharan@linux.intel.com, lgirdwood@gmail.com,
broonie@kernel.org, pierre-louis.bossart@linux.intel.com
Subject: Re: [PATCH v2] ASoC: SOF: Intel: initial support to AlderLake-P
Date: Thu, 14 Jan 2021 13:21:16 +0100 [thread overview]
Message-ID: <s5h1renpv43.wl-tiwai@suse.de> (raw)
In-Reply-To: <20210114115558.52699-1-kai.vehmanen@linux.intel.com>
On Thu, 14 Jan 2021 12:55:58 +0100,
Kai Vehmanen wrote:
>
> Add PCI id for the AlderLake-P.
>
> Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
> Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
> Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
> Reviewed-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
> ---
> sound/soc/sof/sof-pci-dev.c | 6 +++++-
> 1 file changed, 5 insertions(+), 1 deletion(-)
>
> V2 changes:
> - fix compile error if CONFIG_SND_SOC_SOF_TIGERLAKE=n and
> CONFIG_SND_SOC_SOF_ALDERLAKE is enabled
>
> diff --git a/sound/soc/sof/sof-pci-dev.c b/sound/soc/sof/sof-pci-dev.c
> index 63b989e3ec40..ebd58d49d570 100644
> --- a/sound/soc/sof/sof-pci-dev.c
> +++ b/sound/soc/sof/sof-pci-dev.c
> @@ -213,7 +213,7 @@ static const struct sof_dev_desc icl_desc = {
> };
> #endif
>
> -#if IS_ENABLED(CONFIG_SND_SOC_SOF_TIGERLAKE)
> +#if IS_ENABLED(CONFIG_SND_SOC_SOF_TIGERLAKE) || IS_ENABLED(CONFIG_SND_SOC_SOF_ALDERLAKE)
> static const struct sof_dev_desc tgl_desc = {
> .machines = snd_soc_acpi_intel_tgl_machines,
> .alt_machines = snd_soc_acpi_intel_tgl_sdw_machines,
I guess snd_soc_acpi_intel_tgl_* would be missing even by this patch
alone if TIGERLAKE=n and ALDERLAKE=y.
IMO, the easiest fix would be to select CONFIG_SND_SOC_SOF_TIGERLAKE
from CONFIG_SND_SOC_SOF_ALDERLAKE forcibly in Kconfig instead. Then
no tweak of ifdef is needed.
thanks,
Takashi
next prev parent reply other threads:[~2021-01-14 12:22 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-14 11:55 [PATCH v2] ASoC: SOF: Intel: initial support to AlderLake-P Kai Vehmanen
2021-01-14 12:21 ` Takashi Iwai [this message]
2021-01-14 13:45 ` Kai Vehmanen
2021-01-14 14:04 ` Takashi Iwai
2021-01-18 16:02 ` 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=s5h1renpv43.wl-tiwai@suse.de \
--to=tiwai@suse.de \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@kernel.org \
--cc=daniel.baluta@nxp.com \
--cc=guennadi.liakhovetski@linux.intel.com \
--cc=kai.vehmanen@linux.intel.com \
--cc=lgirdwood@gmail.com \
--cc=pierre-louis.bossart@linux.intel.com \
--cc=ranjani.sridharan@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.