[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20231120081834.125555-1-ollisieber@gmail.com>
Date: Mon, 20 Nov 2023 09:18:34 +0100
From: Oliver Sieber <ollisieber@...il.com>
To: bagasdotme@...il.com
Cc: alsa-devel@...a-project.org, broonie@...nel.org,
lgirdwood@...il.com, linux-kernel@...r.kernel.org,
linux-sound@...r.kernel.org, ollisieber@...il.com, perex@...ex.cz,
tiwai@...e.com, tiwai@...e.de
Subject: [PATCH] Subject: ASoC: AMD Renoir - add DMI entry for Lenovo ThinkPad T14s Gen 2
The ThinkPad T14s Gen 2 latop does not have the internal digital
microphone connected to the AMD's ACP bridge, but it's advertised
via BIOS. The internal microphone is connected to the HDA codec.
Use DMI to block the microphone PCM device for this platform.
Signed-off-by: Oliver Sieber <ollisieber@...il.com>
---
sound/soc/amd/renoir/rn-pci-acp3x.c | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/sound/soc/amd/renoir/rn-pci-acp3x.c b/sound/soc/amd/renoir/rn-pci-acp3x.c
index b3812b70f5f9..754e24d55e6f 100644
--- a/sound/soc/amd/renoir/rn-pci-acp3x.c
+++ b/sound/soc/amd/renoir/rn-pci-acp3x.c
@@ -199,6 +199,13 @@ static const struct dmi_system_id rn_acp_quirk_table[] = {
DMI_EXACT_MATCH(DMI_BOARD_NAME, "20NLCTO1WW"),
}
},
+ {
+ /* Lenovo ThinkPad T14s Gen 2 */
+ .matches = {
+ DMI_EXACT_MATCH(DMI_BOARD_VENDOR, "LENOVO"),
+ DMI_EXACT_MATCH(DMI_BOARD_NAME, "20XGS1KT02"),
+ }
+ },
{}
};
--
2.34.1
Powered by blists - more mailing lists