From patchwork Tue Feb 14 10:37:56 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andy Chi X-Patchwork-Id: 13139856 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 8BCC8C05027 for ; Tue, 14 Feb 2023 10:40:18 +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 11FB982C; Tue, 14 Feb 2023 11:39:26 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 11FB982C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1676371216; bh=LFb+2iwGa4ZlcE9Cf8d8034IGQDN4s4caBaGpaMDIOI=; 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=QKwrKZxHmAawSMstAcTqHrn7+8+Bs8//TxyX0VLzbMy0GUxEhtJOpE34WrV8RcsDo /ILVYEBmPj0XunlTaW+wmCnXAJtQ2kMD7otESsoIXhDaHKOZqQN4RJA8aHleDd9q2H mSyCYgmEHucd1nOer+fqUAWYl65pMCuEXhEoNhSQ= Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id 5891DF801C0; Tue, 14 Feb 2023 11:39:01 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 73403F801C0; Tue, 14 Feb 2023 11:38:58 +0100 (CET) Received: from smtp-relay-canonical-0.canonical.com (smtp-relay-canonical-0.canonical.com [185.125.188.120]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id B6216F8001E for ; Tue, 14 Feb 2023 11:38:55 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz B6216F8001E 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=c0ZToJy2 Received: from localhost.localdomain (unknown [10.101.197.31]) (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-0.canonical.com (Postfix) with ESMTPSA id 2B6DD400D0; Tue, 14 Feb 2023 10:38:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1676371134; bh=ZuVXdjv+rXFIm5FqjCm8KFNcTkSOuLBvCZ09G60AUVM=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=c0ZToJy21SP6zQR0gfaNRzTkHpLaU+tQORun8UtWVMDrW0a5y+BvJ+CEt/uaboVMz 0HwZSHkvwYbRXX7wBmSTKEJw+ZTZDrv/3seSqxyx1ltmeLXc2R67CE0/ycCuCA/SxA YadKklMap0lR0K9WuckJKmI0WThV/u9bX7sZWy2vrqeAUyTJa3wra6sfjzpiyB3Al8 19Yii/fusQzr3Gb+h7kXEMPQik4onhBJ+BoHWtrL5P5lvq5LbtISeSHjl+rI/BEnx3 TtqelmH/7rIq84pVk/srdmbO3iNBKREKZRXw7nlbOYJ6GXbMlB0OaWO79XEUORPZvA mz374DdC7MshQ== From: Andy Chi To: Subject: [PATCH v2] ALSA: hda/realtek: Enable mute/micmute LEDs support for HP Laptops Date: Tue, 14 Feb 2023 18:37:56 +0800 Message-Id: <20230214103757.36624-1-andy.chi@canonical.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <87y1p08rxp.wl-tiwai@suse.de> References: <87y1p08rxp.wl-tiwai@suse.de> MIME-Version: 1.0 Message-ID-Hash: QEXC2BYXNI23VY5VCX73ZJONMD5B4WMR X-Message-ID-Hash: QEXC2BYXNI23VY5VCX73ZJONMD5B4WMR 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 ALC245_FIXUP_CS35L41_SPI_2_HP_GPIO_LED quirk to make its audio LEDs work. Signed-off-by: Andy Chi v2: Modify the commit message to the correct quirk. --- 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),