diff options
author | Jaroslav Kysela <perex@perex.cz> | 2020-12-27 17:40:37 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-12-28 14:20:43 +0000 |
commit | 275565997ade6fc32be9cd49a910ba996bcb4797 (patch) | |
tree | 398ccd106a30c3f101af2370d8c3971bf9bdb865 /sound/soc/amd/renoir/rn-pci-acp3x.c | |
parent | f81325a05e9317f09a2e4ec57a52e4e49eb42b54 (diff) | |
download | linux-275565997ade6fc32be9cd49a910ba996bcb4797.tar.gz |
ASoC: AMD Renoir - add DMI entry for Lenovo ThinkPad E14 Gen 2
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 <eliot@blennerhassett.gen.nz>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Link: https://lore.kernel.org/r/20201227164037.269893-1-perex@perex.cz
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/amd/renoir/rn-pci-acp3x.c')
-rw-r--r-- | sound/soc/amd/renoir/rn-pci-acp3x.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sound/soc/amd/renoir/rn-pci-acp3x.c b/sound/soc/amd/renoir/rn-pci-acp3x.c index fa169bf09886..17ec35be73ac 100644 --- a/sound/soc/amd/renoir/rn-pci-acp3x.c +++ b/sound/soc/amd/renoir/rn-pci-acp3x.c @@ -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"), + } + }, {} }; |