Skip to content

Commit 19a0aa9

Browse files
mrhpearsonbroonie
authored andcommitted
ASoC: AMD Renoir - add DMI entry for Lenovo 2020 AMD platforms
More laptops identified where the AMD ACP bridge needs to be blocked or the microphone will not work when connected to HDMI. Use DMI to block the microphone PCM device for these platforms. Suggested-by: Gabriel Craciunescu <[email protected]> Signed-off-by: Mark Pearson <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent b640e8a commit 19a0aa9

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

sound/soc/amd/renoir/rn-pci-acp3x.c

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,41 @@ static const struct dmi_system_id rn_acp_quirk_table[] = {
199199
DMI_EXACT_MATCH(DMI_BOARD_NAME, "20NLCTO1WW"),
200200
}
201201
},
202+
{
203+
/* Lenovo ThinkPad P14s Gen 1 (20Y1) */
204+
.matches = {
205+
DMI_EXACT_MATCH(DMI_BOARD_VENDOR, "LENOVO"),
206+
DMI_MATCH(DMI_BOARD_NAME, "20Y1"),
207+
}
208+
},
209+
{
210+
/* Lenovo ThinkPad T14s Gen1 */
211+
.matches = {
212+
DMI_EXACT_MATCH(DMI_BOARD_VENDOR, "LENOVO"),
213+
DMI_MATCH(DMI_BOARD_NAME, "20UH"),
214+
}
215+
},
216+
{
217+
/* Lenovo ThinkPad T14s Gen1 Campus */
218+
.matches = {
219+
DMI_EXACT_MATCH(DMI_BOARD_VENDOR, "LENOVO"),
220+
DMI_MATCH(DMI_BOARD_NAME, "20UJ"),
221+
}
222+
},
223+
{
224+
/* Lenovo ThinkPad T14 Gen 1*/
225+
.matches = {
226+
DMI_EXACT_MATCH(DMI_BOARD_VENDOR, "LENOVO"),
227+
DMI_MATCH(DMI_BOARD_NAME, "20UD"),
228+
}
229+
},
230+
{
231+
/* Lenovo ThinkPad X13 Gen 1*/
232+
.matches = {
233+
DMI_EXACT_MATCH(DMI_BOARD_VENDOR, "LENOVO"),
234+
DMI_MATCH(DMI_BOARD_NAME, "20UF"),
235+
}
236+
},
202237
{}
203238
};
204239

0 commit comments

Comments
 (0)