From patchwork Tue Jul 19 14:20:14 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kai-Heng Feng X-Patchwork-Id: 12922603 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 EF6E0C43334 for ; Tue, 19 Jul 2022 14:22:08 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 2AA7D16E6; Tue, 19 Jul 2022 16:21:17 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 2AA7D16E6 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1658240527; bh=EJTuuMhkJXoXFFDj/RFdDNS07MXaNMARV4MsKF9dMNM=; h=From:To:Subject:Date:Cc:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=muE+zsuSpGI1QANeHzi5eUAlvqh/eV5G55u92o4ggr2jttlGfPOsXEVDMnGBgnrPX ZsZmR0ulDqJLgt6R1rAvC7c7MxlriUsT5iVK5jo26wdjUEKqir4qjStxhE+dwGyBsb Jk22k4uRMiazuQJnN4KpNo2YYFgLRn7k36JvUS3w= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id CC63DF801EC; Tue, 19 Jul 2022 16:21:16 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 592B6F8016D; Tue, 19 Jul 2022 16:21:15 +0200 (CEST) Received: from smtp-relay-canonical-0.canonical.com (smtp-relay-canonical-0.canonical.com [185.125.188.120]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 3EA52F8016D for ; Tue, 19 Jul 2022 16:21:06 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 3EA52F8016D Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=canonical.com header.i=@canonical.com header.b="JAzgWUHk" Received: from localhost.localdomain (unknown [10.101.196.174]) (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 146933F0E1; Tue, 19 Jul 2022 14:21:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1658240466; bh=oqR8gt4EpFXEUR6Nrtb1vkomwi6qpF5cqH893IhWTiE=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=JAzgWUHk9v5Jk4oTCG/XLItqUEcbufztroYZU1etNuCApOxbbygCjzhVdTh/qOA9h FBVxk+98rBVEpzn7r4btBdmdhPRbBPDv4Q1UVzBXRvzziHpvK3zAyV3H0RxATV3gvD hJ9pMqiNzBloceYHoUVYbzc/0rLUofbFumcWlGoUUtsByem5bPPe1OQXm1WATvTDhE aVBzkxmWH07rJBi/bmtRpgS+lzvLnrCeNMzOyDZp93suqcV2J2/wMLNtgFvG0ODZz4 k9BWFx6W+klZ1cnfa90sX+7HuQANwjdHzhUNl63WzuxAynC5IqtTeXKE0dIOiot2dS rwwf70yu+L8hg== From: Kai-Heng Feng To: tiwai@suse.com Subject: [PATCH] ALSA: hda/realtek: Enable speaker and mute LEDs for HP laptops Date: Tue, 19 Jul 2022 22:20:14 +0800 Message-Id: <20220719142015.244426-1-kai.heng.feng@canonical.com> X-Mailer: git-send-email 2.36.1 MIME-Version: 1.0 Cc: Kai-Heng Feng , Stefan Binding , Kailang Yang , linux-kernel@vger.kernel.org, Lucas Tanure , Meng Tang , alsa-devel@alsa-project.org, Werner Sembach , Tim Crawford , Andy Chi , Cameron Berkenpas , Yong Wu X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" Two more HP laptops that use cs35l41 AMP for speaker and GPIO for mute LEDs. So use the existing quirk to enable them accordingly. Signed-off-by: Kai-Heng Feng Reviewed-by: Lucas Tanure --- 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 2f55bc43bfa9c..cdbee71e83216 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -9109,6 +9109,8 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = { SND_PCI_QUIRK(0x103c, 0x89c3, "Zbook Studio G9", ALC245_FIXUP_CS35L41_SPI_4_HP_GPIO_LED), SND_PCI_QUIRK(0x103c, 0x89c6, "Zbook Fury 17 G9", ALC245_FIXUP_CS35L41_SPI_2_HP_GPIO_LED), SND_PCI_QUIRK(0x103c, 0x89ca, "HP", ALC236_FIXUP_HP_MUTE_LED_MICMUTE_VREF), + 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, 0x8a78, "HP Dev One", ALC285_FIXUP_HP_LIMIT_INT_MIC_BOOST), SND_PCI_QUIRK(0x103c, 0x8aa0, "HP ProBook 440 G9 (MB 8A9E)", ALC236_FIXUP_HP_GPIO_LED), SND_PCI_QUIRK(0x103c, 0x8aa3, "HP ProBook 450 G9 (MB 8AA1)", ALC236_FIXUP_HP_GPIO_LED),