[PATCH v2 1/3] ASoC: amd: acp-config: override ACP config flag on HP OmniBook X Flip 14
jml <[email protected]>
| Newsgroups | gmane.linux.sound |
|---|---|
| Message-ID | <[email protected]> |
The HP OmniBook X Flip 14-kc0xxx (board 8EA1, ACP 7.1) does not expose the "acp-audio-config-flag" ACPI property on its ACP device, so snd_amd_acp_acpi_find_config() falls back to its FLAG_AMD_LEGACY_ONLY_DMIC default. snd_pci_ps then declines to probe and snd_acp_pci binds instead, which has no SoundWire support at all. The result is a machine with only the PDM microphone and HDMI: the SoundWire codecs driving the speakers and the headset jack never come up, even though a matching entry for this board already exists in snd_soc_acpi_amd_acp70_sdw_machines[]. Add the board to acp70_acpi_flag_override_table so the config lookup returns 0 and snd_pci_ps can claim the device. Signed-off-by: jml <[email protected]> --- sound/soc/amd/acp-config.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/sound/soc/amd/acp-config.c b/sound/soc/amd/acp-config.c index 3021dc498..a545dd679 100644 --- a/sound/soc/amd/acp-config.c +++ b/sound/soc/amd/acp-config.c @@ -30,6 +30,13 @@ static const struct dmi_system_id acp70_acpi_flag_override_table[] = { DMI_MATCH(DMI_PRODUCT_NAME, "HN7306EA"), }, }, + { + /* HP OmniBook X Flip 14-kc0xxx (Krackan Point, ACP 7.1) */ + .matches = { + DMI_MATCH(DMI_BOARD_VENDOR, "HP"), + DMI_MATCH(DMI_BOARD_NAME, "8EA1"), + }, + }, { /* ASUS Zenbook S16 UM5606GA (Strix Point, ACP 7.0) */ .matches = { -- 2.53.0