diff mbox series

soc/amd/yc: DMI quirk for LENOVO 83BS to fix malfunctioning mic

Message ID CABRAKeKJg8H0s88yGH96S1d=vZmGjYa3g34XEkR0PmEjhVLA2A@mail.gmail.com (mailing list archive)
State New, archived
Headers show
Series soc/amd/yc: DMI quirk for LENOVO 83BS to fix malfunctioning mic | expand

Commit Message

Keigh Rim, 임경민 Feb. 16, 2024, 3:05 p.m. UTC
This patch fixes the built-in microphone in Lenovo 83BS
(US model: Yoga 7 16" Gen 8 16ARP8),
another recent AMD SoC laptop that needs a quirk mark-up.

Signed-off-by: Keigh Rim <keigh.rim@gmail.com>

---
 sound/soc/amd/yc/acp6x-mach.c | 7 +++++++
 1 file changed, 7 insertions(+)

--
2.43.2

Comments

Mark Brown Feb. 19, 2024, 5:02 p.m. UTC | #1
On Fri, Feb 16, 2024 at 10:05:15AM -0500, Keigh Rim, 임경민 wrote:
> This patch fixes the built-in microphone in Lenovo 83BS
> (US model: Yoga 7 16" Gen 8 16ARP8),
> another recent AMD SoC laptop that needs a quirk mark-up.

This doesn't apply against current code, please check and resend.

Please submit patches using subject lines reflecting the style for the
subsystem, this makes it easier for people to identify relevant patches.
Look at what existing commits in the area you're changing are doing and
make sure your subject lines visually resemble what they're doing.
There's no need to resubmit to fix this alone.
diff mbox series

Patch

diff --git a/sound/soc/amd/yc/acp6x-mach.c b/sound/soc/amd/yc/acp6x-mach.c
index 23d44a50d815..fe1760213ca2 100644
--- a/sound/soc/amd/yc/acp6x-mach.c
+++ b/sound/soc/amd/yc/acp6x-mach.c
@@ -248,6 +248,13 @@  static const struct dmi_system_id yc_acp_quirk_table[] = {
                        DMI_MATCH(DMI_PRODUCT_NAME, "82YM"),
                }
        },
+       {
+               .driver_data = &acp6x_card,
+               .matches = {
+                       DMI_MATCH(DMI_BOARD_VENDOR, "LENOVO"),
+                       DMI_MATCH(DMI_PRODUCT_NAME, "83BS"),
+               }
+       },
        {
                .driver_data = &acp6x_card,
                .matches = {