All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Mukunda,Vijendar" <vijendar.mukunda@amd.com>
To: sashiko-reviews@lists.linux.dev
Cc: linux-sound@vger.kernel.org
Subject: Re: [PATCH V2 03/13] ASoC: amd: acp: fix PDM1 quirk and PDM controller selection for ACP7.B/7.F
Date: Thu, 22 Oct 2026 11:55:38 +0530	[thread overview]
Message-ID: <b2d46dc8-a1db-4f74-b228-39897cede600@amd.com> (raw)
In-Reply-To: <sashiko-outbox-181091@kernel.org>



On 10/22/26 11:53, sashiko-bot@kernel.org wrote:
> [You don't often get email from sashiko-bot@kernel.org. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ]
>
> Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
> - [Low] ASoC: amd: acp: commit message describes fixup instead of new PDM support
> --
>
> commit 1cff813ba92933eeaa9d776d31dbcd42c0513207
> Author: Vijendar Mukunda <Vijendar.Mukunda@amd.com>
>
> ASoC: amd: acp: fix PDM1 quirk and PDM controller selection for ACP7.B/7.F
>
> This commit adds ASOC_SDW_ACP_DMIC1 and pdm_sel support in
> sound/soc/amd/acp/acp-sdw-sof-mach.c to select between the "acp-sof-dmic0"
> and "acp-sof-dmic1" CPU DAIs on ACP7.B and ACP7.F platforms.
>
>>      ASoC: amd: acp: fix PDM1 quirk and PDM controller selection for ACP7.B/7.F
>>
>>      The ASOC_SDW_ACP_DMIC1 quirk was evaluated before dmi_check_system()
>>      and quirk_override were applied, so the pdm_sel fallback always saw
>>      the compile-time default and was effectively dead code. Move it to
>>      after the quirk is fully resolved and restrict it to ACP7B/7F revisions
>>      where PDM controller selection is meaningful.
>>
>>      Since ACP7.B/7.F exposes exactly one active PDM controller, use
>>      else if for the DMIC0 fallback: check ASOC_SDW_ACP_DMIC1 first; only
>>      fall back to ASOC_SDW_ACP_DMIC (DMIC0) when DMIC1 is not set.
>>
>>      Signed-off-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com>
> [Severity: Low]
> This isn't a bug in the code, but the commit subject and message describe
> moving an existing ASOC_SDW_ACP_DMIC1 check and fixing a pre-existing
> pdm_sel fallback.
>
> Looking at the patch, ASOC_SDW_ACP_DMIC1 and pdm_sel in struct amd_mc_ctx
> (in sound/soc/amd/acp/soc_amd_sdw_common.h), the mach->pdata extraction and
> quirk fallback in mc_probe() (in sound/soc/amd/acp/acp-sdw-sof-mach.c), and
> the ACP7B_PCI_REV / ACP7F_PCI_REV CPU DAI selection in
> create_dmic_dailinks() (in sound/soc/amd/acp/acp-sdw-sof-mach.c) are all
> newly introduced by this commit rather than moved from an earlier location.
>
> Was a fixup commit message retained when squashing an earlier revision, and
> should the commit subject and changelog be updated to describe adding new
> PDM controller selection support for ACP7.B/7.F?
will rephrase the commit message and push the v3 version.
>
> --
> Sashiko AI review · https://sashiko.dev/#/patchset/20261022060724.1814741-1-Vijendar.Mukunda@amd.com?part=3


  reply	other threads:[~2026-10-22  6:26 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-22  6:02 [PATCH V2 00/13] ASoC: amd: acp: ACP7.B/7.F SoundWire machine driver support Vijendar Mukunda
2026-10-22  6:02 ` [PATCH V2 01/13] ASoC: amd: acp: add ACP7.B/7.F SoundWire link count for machine driver Vijendar Mukunda
2026-10-22  6:02 ` [PATCH V2 02/13] ASoC: amd: acp: add ACP7.B/7.F SoundWire DAI link support Vijendar Mukunda
2026-10-22  6:02 ` [PATCH V2 03/13] ASoC: amd: acp: fix PDM1 quirk and PDM controller selection for ACP7.B/7.F Vijendar Mukunda
2026-10-22  6:23   ` sashiko-bot
2026-10-22  6:25     ` Mukunda,Vijendar [this message]
2026-10-22 11:03   ` Mukunda,Vijendar
2026-10-22  6:02 ` [PATCH V2 04/13] ASoC: amd: acp: log ASOC_SDW_ACP_DMIC1 quirk in SOF SoundWire machine driver Vijendar Mukunda
2026-10-22  6:02 ` [PATCH V2 05/13] ASoC: amd: acp7x: enable DMIC DAI link based on PDM controller selection Vijendar Mukunda
2026-10-22  6:02 ` [PATCH V2 06/13] ASoC: amd: acp: move ignore_internal_dmic gate to DMIC enable condition Vijendar Mukunda
2026-10-22  6:02 ` [PATCH V2 07/13] ASoC: amd: acp: add DMIC components string for SOF SoundWire machine driver Vijendar Mukunda
2026-10-22  6:02 ` [PATCH V2 08/13] ASoC: amd: acp: set PCI subsystem ID " Vijendar Mukunda
2026-10-22  6:02 ` [PATCH V2 09/13] ASoC: amd: acp: fix MODULE_AUTHOR missing closing angle bracket Vijendar Mukunda
2026-10-22  6:02 ` [PATCH V2 10/13] ASoC: amd: acp: add ACPI machine tables for ACP7.F SoundWire Vijendar Mukunda
2026-10-22  6:02 ` [PATCH V2 11/13] ASoC: SOF: amd: add alt_machines for ACP7.F SOF SoundWire Vijendar Mukunda
2026-10-22  6:02 ` [PATCH V2 12/13] ASoC: amd: acp: add SoundWire machine table for ACP7.B platform Vijendar Mukunda
2026-10-22  6:02 ` [PATCH V2 13/13] ASoC: SOF: amd: register SoundWire alt_machines for ACP7.B Vijendar Mukunda

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=b2d46dc8-a1db-4f74-b228-39897cede600@amd.com \
    --to=vijendar.mukunda@amd.com \
    --cc=linux-sound@vger.kernel.org \
    --cc=sashiko-reviews@lists.linux.dev \
    /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.