ASoC: amd: yc: Fix non-functional mic on Lenovo 82QF and 82UG
authorAugust Wikerfors <git@augustwikerfors.se>
Mon, 11 Sep 2023 21:34:09 +0000 (23:34 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 12 Sep 2023 12:16:30 +0000 (13:16 +0100)
commit1263cc0f414d212129c0f1289b49b7df77f92084
tree2ffad90c4c1fae18db75f3e1b3404fc6342359c4
parent7e6096634c66ad889ecbce759a47ddd308ade85f
ASoC: amd: yc: Fix non-functional mic on Lenovo 82QF and 82UG

Like the Lenovo 82TL and 82V2, the Lenovo 82QF (Yoga 7 14ARB7) and 82UG
(Legion S7 16ARHA7) both need a quirk entry for the internal microphone to
function. Commit c008323fe361 ("ASoC: amd: yc: Fix a non-functional mic on
Lenovo 82SJ") restricted the quirk that previously matched "82" to "82V2",
breaking microphone functionality on these devices. Fix this by adding
specific quirks for these models, as was done for the Lenovo 82TL.

Fixes: c008323fe361 ("ASoC: amd: yc: Fix a non-functional mic on Lenovo 82SJ")
Closes: https://github.com/tomsom/yoga-linux/issues/51
Link: https://bugzilla.kernel.org/show_bug.cgi?id=208555#c780
Cc: stable@vger.kernel.org
Signed-off-by: August Wikerfors <git@augustwikerfors.se>
Link: https://lore.kernel.org/r/20230911213409.6106-1-git@augustwikerfors.se
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/amd/yc/acp6x-mach.c