From patchwork Tue Feb 14 03:58:52 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andy Chi X-Patchwork-Id: 13139350 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 73C6FC61DA4 for ; Tue, 14 Feb 2023 04:01:02 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 44CE483E; Tue, 14 Feb 2023 05:00:10 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 44CE483E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1676347260; bh=s2LnC8rSU0r0K2fUuznMBNrx/uwueJuAQwCqIzUr3f4=; h=From:To:Subject:Date:In-Reply-To:References:CC:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=JTeUxxgnpphOuR6Gf0YIKTU/TyoeB4p3K6fmqx9wJySgkftP7MMD21VelMym4Plkd 6y3RcbvLX0qgg/1CC/4EVunRDw6bgwydg4KdMCdCk0coezTGzypw9ORfCAvYi+Y8df 1GPxpE+t6wkg7jsiVQJtokdj4skvbtn08BchbLxo= Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id 72E02F804B2; Tue, 14 Feb 2023 04:59:20 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 7C0B5F801C0; Tue, 14 Feb 2023 04:59:13 +0100 (CET) Received: from smtp-relay-canonical-1.canonical.com (smtp-relay-canonical-1.canonical.com [185.125.188.121]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 8D67BF800B6 for ; Tue, 14 Feb 2023 04:59:07 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 8D67BF800B6 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=canonical.com header.i=@canonical.com header.a=rsa-sha256 header.s=20210705 header.b=MKi4o3RC Received: from andch-XPS-15-9520.. (118-163-61-247.hinet-ip.hinet.net [118.163.61.247]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-canonical-1.canonical.com (Postfix) with ESMTPSA id C91F041FDA; Tue, 14 Feb 2023 03:59:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1676347146; bh=1XieuJDvVh/qHz7SDSlKiMy2zNt+9X4WxUsZwQNf5Tk=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=MKi4o3RCFf/qbEKWM4BjbXApAlzeeiTS8Y2PWgth7CT9TfOY5Zs48rE+FDDF6MwLl 9j4yMEQmgDSJ9XVfq0Uy61aHHjUaZI0HnkuZIeBbVUb87TmIZ5y1aLYPheWiu5vJmf axp+ykMldCvi1VBXOa6impjvAuUOnLlZuFYsueuJ8BQsPk67u/QzNEO513JoQHVGxp dT8gbt7vg0UwaFUgTbZIHz9NDY1XPi/tvqVimfd5PEojOcvNC5bd3zJWZUKs9+BIul 2yvnmGea6lklGHOSIL1DyKKRFSL39NdVhifCF8vd4MlnZSo5EUg811Ln9dHFD/3ZuB EjI5K5WFoHkzQ== From: Andy Chi To: Subject: [PATCH 2/2] ALSA: hda/realtek: Enable mute/micmute LEDs support for HP Laptops Date: Tue, 14 Feb 2023 11:58:52 +0800 Message-Id: <20230214035853.31217-2-andy.chi@canonical.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230214035853.31217-1-andy.chi@canonical.com> References: <20230214035853.31217-1-andy.chi@canonical.com> MIME-Version: 1.0 Message-ID-Hash: JRE4NTQM2JJE7CPYTTILS2RBFQUXPQXY X-Message-ID-Hash: JRE4NTQM2JJE7CPYTTILS2RBFQUXPQXY X-MailFrom: andy.chi@canonical.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: andy.chi@canonical.com, Takashi Iwai , Tim Crawford , Stefan Binding , Meng Tang , Philipp Jungkamp , =?utf-8?q?Kacper_Michaj=C5=82ow?= , Gabriele Mazzotta , Yuchi Yang , alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org X-Mailman-Version: 3.3.8 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: On HP Laptops, requires the same ALC285_FIXUP_HP_GPIO_LED quirk to make its audio LEDs work. Signed-off-by: Andy Chi --- sound/pci/hda/patch_realtek.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index 7b9fb38ff732..e2cd5456f2a6 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -9432,6 +9432,12 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = { SND_PCI_QUIRK(0x103c, 0x8abb, "HP ZBook Firefly 14 G9", ALC245_FIXUP_CS35L41_SPI_2_HP_GPIO_LED), SND_PCI_QUIRK(0x103c, 0x8ad1, "HP EliteBook 840 14 inch G9 Notebook PC", ALC245_FIXUP_CS35L41_SPI_2_HP_GPIO_LED), SND_PCI_QUIRK(0x103c, 0x8ad2, "HP EliteBook 860 16 inch G9 Notebook PC", ALC245_FIXUP_CS35L41_SPI_2_HP_GPIO_LED), + SND_PCI_QUIRK(0x103c, 0x8b42, "HP", ALC245_FIXUP_CS35L41_SPI_2_HP_GPIO_LED), + SND_PCI_QUIRK(0x103c, 0x8b43, "HP", ALC245_FIXUP_CS35L41_SPI_2_HP_GPIO_LED), + SND_PCI_QUIRK(0x103c, 0x8b44, "HP", ALC245_FIXUP_CS35L41_SPI_2_HP_GPIO_LED), + SND_PCI_QUIRK(0x103c, 0x8b45, "HP", ALC245_FIXUP_CS35L41_SPI_2_HP_GPIO_LED), + SND_PCI_QUIRK(0x103c, 0x8b46, "HP", ALC245_FIXUP_CS35L41_SPI_2_HP_GPIO_LED), + SND_PCI_QUIRK(0x103c, 0x8b47, "HP", ALC245_FIXUP_CS35L41_SPI_2_HP_GPIO_LED), SND_PCI_QUIRK(0x103c, 0x8b5d, "HP", ALC236_FIXUP_HP_MUTE_LED_MICMUTE_VREF), SND_PCI_QUIRK(0x103c, 0x8b5e, "HP", ALC236_FIXUP_HP_MUTE_LED_MICMUTE_VREF), SND_PCI_QUIRK(0x103c, 0x8b7a, "HP", ALC236_FIXUP_HP_GPIO_LED),