public inbox for linux-sound@vger.kernel.org
 help / color / mirror / Atom feed
From: Syed Saba Kareem <syed.sabakareem@amd.com>
To: Mario Limonciello <mario.limonciello@amd.com>,
	Mark Brown <broonie@kernel.org>,
	alsa-devel@alsa-project.org
Cc: Vijendar Mukunda <Vijendar.Mukunda@amd.com>,
	Sunil-kumar Dommati <Sunil-kumar.Dommati@amd.com>,
	Mark Pearson <mpearson-lenovo@squebb.ca>,
	Venkata Prasad Potturu <venkataprasad.potturu@amd.com>,
	Liam Girdwood <lgirdwood@gmail.com>,
	Jaroslav Kysela <perex@perex.cz>, Takashi Iwai <tiwai@suse.com>,
	Charles Keepax <ckeepax@opensource.cirrus.com>,
	"Mario Limonciello (AMD)" <superm1@kernel.org>,
	Bard Liao <yung-chuan.liao@linux.intel.com>,
	Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>,
	Hasun Park <hasunpark@gmail.com>,
	Simon Trimmer <simont@opensource.cirrus.com>,
	Kees Cook <kees@kernel.org>,
	"open list:AMD ASoC DRIVERS" <linux-sound@vger.kernel.org>,
	open list <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH 1/2] ASoC : amd: acp: Update Quirk for Lenovo Platforms
Date: Mon, 6 Apr 2026 10:52:05 +0530	[thread overview]
Message-ID: <0bd34325-db7d-4074-9a42-3f2dd580dc5b@amd.com> (raw)
In-Reply-To: <c415c13e-0532-49fb-8a52-488a28870d71@amd.com>


On 4/3/26 21:03, Mario Limonciello wrote:
> On 4/3/26 5:09 AM, Syed Saba Kareem wrote:
>> Use DMI_MATCH instead of DMI_EXACT_MATCH for the Lenovo SKU,
>> So the quirk is applied to all variants of this model.
>
> This seems to do more than the patch description indicates as it also 
> adds the  | (ASOC_SDW_ACP_DMIC).
>
> Could you add that to the description?
>
> Will send a fresh patch with updated commit description.
>>
>> Fixes: 3acf517e1ae0 ("ASoC: amd: amd_sdw: add machine driver quirk 
>> for Lenovo models")
>> Tested-by: Mark Pearson <mpearson-lenovo@squebb.ca>
>> Reviewed-by: Mark Pearson <mpearson-lenovo@squebb.ca>
>> Signed-off-by: Syed Saba Kareem <Syed.SabaKareem@amd.com>
>> ---
>>   sound/soc/amd/acp/acp-sdw-legacy-mach.c | 8 ++++----
>>   1 file changed, 4 insertions(+), 4 deletions(-)
>>
>> diff --git a/sound/soc/amd/acp/acp-sdw-legacy-mach.c 
>> b/sound/soc/amd/acp/acp-sdw-legacy-mach.c
>> index 05484c72f9a8..986fefd0de08 100644
>> --- a/sound/soc/amd/acp/acp-sdw-legacy-mach.c
>> +++ b/sound/soc/amd/acp/acp-sdw-legacy-mach.c
>> @@ -99,17 +99,17 @@ static const struct dmi_system_id 
>> soc_sdw_quirk_table[] = {
>>           .callback = soc_sdw_quirk_cb,
>>           .matches = {
>>               DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
>> -            DMI_EXACT_MATCH(DMI_PRODUCT_SKU, "21YW"),
>> +            DMI_MATCH(DMI_PRODUCT_SKU, "21YW"),
>>           },
>> -        .driver_data = (void *)(ASOC_SDW_CODEC_SPKR),
>> +        .driver_data = (void *)((ASOC_SDW_CODEC_SPKR) | 
>> (ASOC_SDW_ACP_DMIC)),
>>       },
>>       {
>>           .callback = soc_sdw_quirk_cb,
>>           .matches = {
>>               DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
>> -            DMI_EXACT_MATCH(DMI_PRODUCT_SKU, "21YX"),
>> +            DMI_MATCH(DMI_PRODUCT_SKU, "21YX"),
>>           },
>> -        .driver_data = (void *)(ASOC_SDW_CODEC_SPKR),
>> +        .driver_data = (void *)((ASOC_SDW_CODEC_SPKR) | 
>> (ASOC_SDW_ACP_DMIC)),
>>       },
>>       {
>>           .callback = soc_sdw_quirk_cb,
>

      reply	other threads:[~2026-04-06  5:22 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-04-03 10:09 [PATCH 1/2] ASoC : amd: acp: Update Quirk for Lenovo Platforms Syed Saba Kareem
2026-04-03 11:55 ` Mark Brown
2026-04-03 12:11   ` Mukunda,Vijendar
2026-04-03 15:33 ` Mario Limonciello
2026-04-06  5:22   ` Syed Saba Kareem [this message]

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=0bd34325-db7d-4074-9a42-3f2dd580dc5b@amd.com \
    --to=syed.sabakareem@amd.com \
    --cc=Sunil-kumar.Dommati@amd.com \
    --cc=Vijendar.Mukunda@amd.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=broonie@kernel.org \
    --cc=ckeepax@opensource.cirrus.com \
    --cc=hasunpark@gmail.com \
    --cc=kees@kernel.org \
    --cc=krzysztof.kozlowski@oss.qualcomm.com \
    --cc=lgirdwood@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-sound@vger.kernel.org \
    --cc=mario.limonciello@amd.com \
    --cc=mpearson-lenovo@squebb.ca \
    --cc=perex@perex.cz \
    --cc=simont@opensource.cirrus.com \
    --cc=superm1@kernel.org \
    --cc=tiwai@suse.com \
    --cc=venkataprasad.potturu@amd.com \
    --cc=yung-chuan.liao@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