[PATCH AUTOSEL 6.19-6.18] ASoC: Intel: sof_sdw: Add quirk for Alienware Area 51 (2025) 0CCD SKU

From: Sasha Levin

Date: Tue Mar 10 2026 - 05:10:57 EST


From: Oliver Freyermuth <o.freyermuth@xxxxxxxxxxxxxx>

[ Upstream commit 70eddf6a0a3fc6d3ab6f77251676da97cc7f12ae ]

This adds the necessary quirk for the Alienware 18 Area 51 (2025).
Complements commit 1b03391d073d ("ASoC: Intel: sof_sdw: Add quirk
for Alienware Area 51 (2025) 0CCC SKU").

Signed-off-by: Oliver Freyermuth <o.freyermuth@xxxxxxxxxxxxxx>
Tested-by: Oliver Freyermuth <o.freyermuth@xxxxxxxxxxxxxx>
Link: https://patch.msgid.link/20260224190224.30630-1-o.freyermuth@xxxxxxxxxxxxxx
Signed-off-by: Mark Brown <broonie@xxxxxxxxxx>
Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>
---

LLM Generated explanations, may be completely bogus:

## Analysis

### What the commit does
This adds a single DMI quirk entry for the Alienware Area 51 (2025) with
SKU "0CCD" to the SOF SoundWire quirk table. It enables
`SOC_SDW_CODEC_SPKR` for this specific hardware, which is needed for the
speaker codec to function. The commit explicitly references a companion
commit (1b03391d073d) that added the same quirk for the "0CCC" SKU of
the same laptop model.

### Classification: Hardware Quirk Addition
This falls squarely into the **"QUIRKS and WORKAROUNDS"** exception
category for stable backports:
- It's a trivial addition of a DMI match entry to an existing quirk
table
- The driver and quirk infrastructure already exist in stable
- Without this quirk, audio speakers won't work on this specific laptop
SKU
- The change is 8 lines of a new table entry, identical in structure to
dozens of existing entries

### Code change analysis
The diff adds one new `dmi_system_id` struct to the
`sof_sdw_quirk_table[]` array, matching:
- Vendor: "Alienware"
- Product SKU: "0CCD" (exact match)
- Quirk: `SOC_SDW_CODEC_SPKR`

This is identical in structure to the immediately preceding entry for
SKU "0CCC" and many other Dell/Alienware entries in the same table.

### Risk assessment
- **Risk: Extremely low** — The entry only matches one specific DMI SKU,
so it cannot affect any other hardware
- **Scope: Minimal** — 8 lines added to a data table, no logic changes
- **Tested: Yes** — The commit has a Tested-by tag from the
author/reporter
- **Benefit: High for affected users** — Without this, speakers don't
work on this laptop

### Stable criteria
- Obviously correct: Yes (copy of adjacent entry with different SKU)
- Fixes real bug: Yes (no audio output from speakers on this hardware)
- Small and contained: Yes (8-line table entry addition)
- No new features: Correct (enables existing driver functionality on new
hardware)

### Verification
- The diff shows the new entry is structurally identical to the adjacent
0CCC SKU entry, confirming it's a straightforward quirk addition
- The commit message references companion commit 1b03391d073d for the
0CCC SKU, establishing precedent
- The Tested-by tag from the submitter confirms the fix works on real
hardware
- The change only touches the `sof_sdw_quirk_table[]` DMI table in
`sound/soc/intel/boards/sof_sdw.c`, no logic changes
- The `SOC_SDW_CODEC_SPKR` quirk value is already used by many other
entries in the same table, so it's well-established functionality

This is a textbook stable backport candidate — a hardware quirk that
makes speakers work on a specific laptop with zero risk to any other
system.

**YES**

sound/soc/intel/boards/sof_sdw.c | 8 ++++++++
1 file changed, 8 insertions(+)

diff --git a/sound/soc/intel/boards/sof_sdw.c b/sound/soc/intel/boards/sof_sdw.c
index 50b838be24e95..0186c281296ec 100644
--- a/sound/soc/intel/boards/sof_sdw.c
+++ b/sound/soc/intel/boards/sof_sdw.c
@@ -763,6 +763,14 @@ static const struct dmi_system_id sof_sdw_quirk_table[] = {
},
.driver_data = (void *)(SOC_SDW_CODEC_SPKR),
},
+ {
+ .callback = sof_sdw_quirk_cb,
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "Alienware"),
+ DMI_EXACT_MATCH(DMI_PRODUCT_SKU, "0CCD")
+ },
+ .driver_data = (void *)(SOC_SDW_CODEC_SPKR),
+ },
/* Pantherlake devices*/
{
.callback = sof_sdw_quirk_cb,
--
2.51.0