Skip to content

Commit

Permalink
ASoC: AMD Renoir - add DMI entry for Lenovo ThinkPad E14 Gen 2
Browse files Browse the repository at this point in the history
The ThinkPad E14 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.

Reported-by: Eliot Blennerhassett <[email protected]>
Signed-off-by: Jaroslav Kysela <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
  • Loading branch information
perexg authored and broonie committed Dec 28, 2020
1 parent f81325a commit 2755659
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions sound/soc/amd/renoir/rn-pci-acp3x.c
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,13 @@ static const struct dmi_system_id rn_acp_quirk_table[] = {
DMI_EXACT_MATCH(DMI_BOARD_NAME, "LNVNB161216"),
}
},
{
/* Lenovo ThinkPad E14 Gen 2 */
.matches = {
DMI_EXACT_MATCH(DMI_BOARD_VENDOR, "LENOVO"),
DMI_EXACT_MATCH(DMI_BOARD_NAME, "20T6CTO1WW"),
}
},
{}
};

Expand Down

0 comments on commit 2755659

Please sign in to comment.