diff options
author | Mac Chiang <mac.chiang@intel.com> | 2024-10-28 15:26:30 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2024-10-28 12:35:14 +0000 |
commit | 60f1c71ec874a581a194ff9a86174c4744b6e555 (patch) | |
tree | bf225a90bc8636183828a539e9ad73ca75f8b9a8 /sound/soc/intel | |
parent | 358ee2c1493e5d2c59820ffd8087eb0e367be4c6 (diff) | |
download | lwn-60f1c71ec874a581a194ff9a86174c4744b6e555.tar.gz lwn-60f1c71ec874a581a194ff9a86174c4744b6e555.zip |
ASoC: intel: sof_sdw: add quirk for Dell SKU
This patch adds a quirk to include the codec amplifier
function for this Dell SKU.
Note: In this SKU '0CF0', the RT722 codec amplifier is
excluded, and an external amplifier is used instead.
Signed-off-by: Mac Chiang <mac.chiang@intel.com>
Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Link: https://patch.msgid.link/20241028072631.15536-3-yung-chuan.liao@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/intel')
-rw-r--r-- | sound/soc/intel/boards/sof_sdw.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sound/soc/intel/boards/sof_sdw.c b/sound/soc/intel/boards/sof_sdw.c index a6e391791bad..5614e706a0bb 100644 --- a/sound/soc/intel/boards/sof_sdw.c +++ b/sound/soc/intel/boards/sof_sdw.c @@ -639,6 +639,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, "Dell Inc"), + DMI_EXACT_MATCH(DMI_PRODUCT_SKU, "0CF0") + }, + .driver_data = (void *)(SOC_SDW_CODEC_SPKR), + }, /* Pantherlake devices*/ { .callback = sof_sdw_quirk_cb, |