]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ASoC: amd: acp: add ASUS HN7306EA quirk for legacy SDW machine
authorHasun Park <hasunpark@gmail.com>
Thu, 19 Mar 2026 16:33:21 +0000 (01:33 +0900)
committerMark Brown <broonie@kernel.org>
Fri, 20 Mar 2026 12:53:35 +0000 (12:53 +0000)
Add a DMI quirk entry for ASUS HN7306EA in the ACP SoundWire legacy
machine driver.

Set driver_data to ASOC_SDW_ACP_DMIC for this board so the
platform-specific DMIC quirk path is selected.

Signed-off-by: Hasun Park <hasunpark@gmail.com>
Link: https://patch.msgid.link/20260319163321.30326-1-hasunpark@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/amd/acp/acp-sdw-legacy-mach.c

index c30ccf23005a9533fc8f5b36649e67336419e96a..6388cd7cb28ebe59f37789e27df20b869228d136 100644 (file)
@@ -111,6 +111,14 @@ static const struct dmi_system_id soc_sdw_quirk_table[] = {
                },
                .driver_data = (void *)(ASOC_SDW_CODEC_SPKR),
        },
+       {
+               .callback = soc_sdw_quirk_cb,
+               .matches = {
+                       DMI_MATCH(DMI_BOARD_VENDOR, "ASUSTeK COMPUTER INC."),
+                       DMI_MATCH(DMI_PRODUCT_NAME, "HN7306EA"),
+               },
+               .driver_data = (void *)(ASOC_SDW_ACP_DMIC),
+       },
        {}
 };