From patchwork Wed Jul 7 14:10:06 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andy Chi X-Patchwork-Id: 1501773 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=) Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4GKhCn1FY2z9tkG; Thu, 8 Jul 2021 00:10:39 +1000 (AEST) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1m18G2-0006PB-1r; Wed, 07 Jul 2021 14:10:34 +0000 Received: from youngberry.canonical.com ([91.189.89.112]) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1m18Fu-0006Ht-Cr for kernel-team@lists.ubuntu.com; Wed, 07 Jul 2021 14:10:26 +0000 Received: from mail-pg1-f199.google.com ([209.85.215.199]) by youngberry.canonical.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1m18Ft-0000xq-0R for kernel-team@lists.ubuntu.com; Wed, 07 Jul 2021 14:10:25 +0000 Received: by mail-pg1-f199.google.com with SMTP id d28-20020a634f1c0000b02902238495b6a7so1832903pgb.16 for ; Wed, 07 Jul 2021 07:10:24 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=DwLASntee6x+89WciwOt3wEB7ca0RCLU+CcYbs6CS9g=; b=ZyJQFQH6PILGLuyZXG5nN09Ou4DJEZT2HCvjyoDBFzjPKSqMbYe9qnmCdiPMKGxEJ9 Ti5jV2Wb+kykN4W9Cmd82kTXlvRPOH98wKtD+RwBaCmX4tfoZYM4b11uvhJA/97eRqyw y9Kmja04JFKUKuvZOSaGZiyWk/ADeqgS8A1Xmp06fb1T/hl2w8kdim7KqqJ5lsnbaSUs GQIh25iVx9lCPMzaIhQI9IJb9MqBRDobEx6bKkn69beEe0940NQMmFQSaBc5tim9yayi x12r8sNrXDRIq85qca7Tg+TKguDa2ZiK2WtOwKlCVXPtACKAqpQfn43QtGzJNgyORIRr MkQw== X-Gm-Message-State: AOAM53159d//47izrmkut0v6RkDcr6LGlF+QAHhJgC9sJtdu1ogwexXY CwSs0lUDqX6hgrLjWMI+4Y7erK5cdOLxaKxwmlOYDMmVmmyrMZ2GXlbOrVJkozZ7JuHCox1dilF UmNCq5VYQBG4PV2jrpbe3c7SKwNb/5+Q7xtwKwAeZjQ== X-Received: by 2002:a17:902:ab95:b029:126:351c:e6ba with SMTP id f21-20020a170902ab95b0290126351ce6bamr21547559plr.16.1625667023779; Wed, 07 Jul 2021 07:10:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyDcxPow2PGC+STcWNNB7devkfVosXHJywH8wwt6s+qO6nsoqX3vwumUbkuAChA4tG5P8+QVA== X-Received: by 2002:a17:902:ab95:b029:126:351c:e6ba with SMTP id f21-20020a170902ab95b0290126351ce6bamr21547550plr.16.1625667023587; Wed, 07 Jul 2021 07:10:23 -0700 (PDT) Received: from localhost.localdomain (61-220-137-34.HINET-IP.hinet.net. [61.220.137.34]) by smtp.gmail.com with ESMTPSA id n47sm12384689pfv.55.2021.07.07.07.10.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Jul 2021 07:10:23 -0700 (PDT) From: Andy Chi To: kernel-team@lists.ubuntu.com Subject: [SRU] [U] [PATCH 2/3] ALSA: hda/realtek: fix mute/micmute LEDs for HP ProBook 445 G8 Date: Wed, 7 Jul 2021 22:10:06 +0800 Message-Id: <20210707141010.536437-9-andy.chi@canonical.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210707141010.536437-1-andy.chi@canonical.com> References: <20210707141010.536437-1-andy.chi@canonical.com> MIME-Version: 1.0 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" BugLink: https://bugs.launchpad.net/bugs/1934878 The HP ProBook 445 G8 using ALC236 codec. COEF index 0x34 bit 5 is used to control the playback mute LED, but the microphone mute LED is controlled using pin VREF instead of a COEF index. Therefore, add a quirk to make it works. Signed-off-by: Andy Chi Cc: Link: https://lore.kernel.org/r/20210701091417.9696-2-andy.chi@canonical.com Signed-off-by: Takashi Iwai (backported from commit a3b7f9b8fa2967e1b3c2a402301715124c90306b) Signed-off-by: Andy Chi --- sound/pci/hda/patch_realtek.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index 9c3bb1a2b849..25a32b718fbc 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -8344,6 +8344,8 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = { SND_PCI_QUIRK(0x103c, 0x8846, "HP EliteBook 850 G8 Notebook PC", ALC285_FIXUP_HP_GPIO_LED), SND_PCI_QUIRK(0x103c, 0x884b, "HP EliteBook 840 Aero G8 Notebook PC", ALC285_FIXUP_HP_GPIO_LED), SND_PCI_QUIRK(0x103c, 0x884c, "HP EliteBook 840 G8 Notebook PC", ALC285_FIXUP_HP_GPIO_LED), + SND_PCI_QUIRK(0x103c, 0x8862, "HP ProBook 445 G8 Notebook PC", ALC236_FIXUP_HP_MUTE_LED_MICMUTE_VREF), + SND_PCI_QUIRK(0x103c, 0x8863, "HP ProBook 445 G8 Notebook PC", ALC236_FIXUP_HP_MUTE_LED_MICMUTE_VREF), SND_PCI_QUIRK(0x103c, 0x886d, "HP ZBook Fury 17.3 Inch G8 Mobile Workstation PC", ALC285_FIXUP_HP_GPIO_AMP_INIT), SND_PCI_QUIRK(0x103c, 0x8870, "HP ZBook Fury 15.6 Inch G8 Mobile Workstation PC", ALC285_FIXUP_HP_GPIO_AMP_INIT), SND_PCI_QUIRK(0x103c, 0x8873, "HP ZBook Studio 15.6 Inch G8 Mobile Workstation PC", ALC285_FIXUP_HP_GPIO_AMP_INIT),