ASoC: AMD Renoir - add DMI table to avoid the ACP mic probe (broken BIOS)
authorJaroslav Kysela <perex@perex.cz>
Tue, 8 Dec 2020 17:12:00 +0000 (18:12 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 30 Dec 2020 10:54:09 +0000 (11:54 +0100)
commitf7d6aaca08c65bbe1c8879dccd5c6d4640530039
treecd265db73dc454725b3d3c11b3afc832d25e52c2
parent74a4802ff431759e41a514880942109140199d32
ASoC: AMD Renoir - add DMI table to avoid the ACP mic probe (broken BIOS)

commit 718c406e1ffaca4eac987b957bbb36ce1090797a upstream.

Users reported that some Lenovo AMD platforms do not have ACP microphone,
but the BIOS advertises it via ACPI.

This patch create a simple DMI table, where those machines with the broken
BIOS can be added. The DMI description for Lenovo IdeaPad 5 and
IdeaPad Flex 5 devices are added there.

Also describe the dmic_acpi_check kernel module parameter in a more
understandable way.

Cc: <stable@kernel.org>
Cc: Vijendar Mukunda <Vijendar.Mukunda@amd.com>
Cc: Mark Brown <broonie@kernel.org>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Link: https://lore.kernel.org/r/20201208171200.2737620-1-perex@perex.cz
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/soc/amd/renoir/rn-pci-acp3x.c