patches.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
* [PATCH AUTOSEL 6.12 1/6] ASoC: amd: yc: Add DMI quirk for HP Laptop 17 cp-2033dx
@ 2025-07-23  0:57 Sasha Levin
  2025-07-23  0:57 ` [PATCH AUTOSEL 6.12 2/6] ethernet: intel: fix building with large NR_CPUS Sasha Levin
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Sasha Levin @ 2025-07-23  0:57 UTC (permalink / raw)
  To: patches, stable
  Cc: Lane Odenbach, Mark Brown, Sasha Levin, venkataprasad.potturu,
	tiwai, mario.limonciello, lachlan.hodges, talhah.peerbhai

From: Lane Odenbach <laodenbach@gmail.com>

[ Upstream commit 7bab1bd9fdf15b9fa7e6a4b0151deab93df3c80d ]

This fixes the internal microphone in the stated device

Signed-off-by: Lane Odenbach <laodenbach@gmail.com>
Link: https://patch.msgid.link/20250715182038.10048-1-laodenbach@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
---

LLM Generated explanations, may be completely bogus:

**YES**

This commit should be backported to stable kernel trees for the
following reasons:

1. **Bug Fix for Hardware Functionality**: The commit fixes a non-
   functional internal microphone on the HP Laptop 17 cp-2033dx. This is
   a hardware enablement bug fix that prevents users from using a core
   functionality of their laptop.

2. **Minimal and Contained Change**: The change is extremely minimal -
   it only adds 7 lines to the DMI quirk table:
  ```c
  +       {
  +               .driver_data = &acp6x_card,
  +               .matches = {
  +                       DMI_MATCH(DMI_BOARD_VENDOR, "HP"),
  +                       DMI_MATCH(DMI_BOARD_NAME, "8A81"),
  +               }
  +       },
  ```
  This is a simple DMI match addition with no algorithmic changes or
  side effects.

3. **Low Risk of Regression**: DMI quirk additions are inherently safe
   as they only affect the specific hardware model being added. The
   change cannot impact any other system that doesn't match the exact
   DMI strings.

4. **Follows Established Pattern**: All five similar commits provided as
   reference (for HP models with board names 8BD6, 8A3E, 8A22, 8A27, and
   other manufacturers) were marked as "Backport Status: YES". This type
   of commit has a well-established history of being backported.

5. **User-Impacting Issue**: Without this quirk, users of the HP Laptop
   17 cp-2033dx cannot use their internal microphone, which is essential
   functionality for video calls, recording, and voice commands. This
   significantly degrades the user experience.

6. **Consistent with Stable Tree Rules**: The commit meets the stable
   kernel criteria:
   - It fixes a real bug that bothers users (non-functional microphone)
   - It's obviously correct and tested (standard DMI quirk pattern)
   - It's small (7 lines)
   - It doesn't add new features, only fixes existing functionality

The AMD Yellow Carp (YC) audio driver uses DMI quirks to enable the
internal microphone on specific laptop models. Without these quirks, the
DMIC (Digital Microphone) won't be properly initialized on affected
systems. This is a common pattern in the Linux kernel for handling
hardware-specific configurations.

 sound/soc/amd/yc/acp6x-mach.c | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/sound/soc/amd/yc/acp6x-mach.c b/sound/soc/amd/yc/acp6x-mach.c
index 1689b6b22598e..42d123cb8b4c6 100644
--- a/sound/soc/amd/yc/acp6x-mach.c
+++ b/sound/soc/amd/yc/acp6x-mach.c
@@ -577,6 +577,13 @@ static const struct dmi_system_id yc_acp_quirk_table[] = {
 			DMI_MATCH(DMI_BOARD_NAME, "8A7F"),
 		}
 	},
+	{
+		.driver_data = &acp6x_card,
+		.matches = {
+			DMI_MATCH(DMI_BOARD_VENDOR, "HP"),
+			DMI_MATCH(DMI_BOARD_NAME, "8A81"),
+		}
+	},
 	{
 		.driver_data = &acp6x_card,
 		.matches = {
-- 
2.39.5


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2025-07-23  0:58 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-23  0:57 [PATCH AUTOSEL 6.12 1/6] ASoC: amd: yc: Add DMI quirk for HP Laptop 17 cp-2033dx Sasha Levin
2025-07-23  0:57 ` [PATCH AUTOSEL 6.12 2/6] ethernet: intel: fix building with large NR_CPUS Sasha Levin
2025-07-23  0:57 ` [PATCH AUTOSEL 6.12 3/6] ASoC: amd: yc: Add DMI entries to support HP 15-fb1xxx Sasha Levin
2025-07-23  0:58 ` [PATCH AUTOSEL 6.12 4/6] ALSA: hda/cs35l56: Workaround bad dev-index on Lenovo Yoga Book 9i GenX Sasha Levin
2025-07-23  0:58 ` [PATCH AUTOSEL 6.12 5/6] ASoC: Intel: fix SND_SOC_SOF dependencies Sasha Levin
2025-07-23  0:58 ` [PATCH AUTOSEL 6.12 6/6] ASoC: amd: yc: add DMI quirk for ASUS M6501RM Sasha Levin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).