From patchwork Mon Nov 28 02:28:47 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andy Chi X-Patchwork-Id: 13056965 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 AF5E7C433FE for ; Mon, 28 Nov 2022 02:30:43 +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 D648D1691; Mon, 28 Nov 2022 03:29:50 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz D648D1691 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1669602640; bh=mOGE4dlSJmjqIi17fObBozW89ReTvtHV1yBtYxMMbBk=; h=From:To:Subject:Date:Cc:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=fzkE6AbzAkHlQhEpS7sRbV3PB8b90le/zqA3zWyZ1EafCwoOL3VnMe4wokbg4US0F GIeBOx8f2o8kYcd9iUpEquyMtPJ03z+VLG1snqCgwMNi2VY5jDS2+q2FE8fTRCJX+j 8EkX2HuGBxgN8Ve7/p30c1TtRlPjPwAUCGXSUJn4= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 6C31AF801D8; Mon, 28 Nov 2022 03:29:50 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 8B9CFF8020D; Mon, 28 Nov 2022 03:29:47 +0100 (CET) Received: from smtp-relay-canonical-1.canonical.com (smtp-relay-canonical-1.canonical.com [185.125.188.121]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 28217F80166 for ; Mon, 28 Nov 2022 03:29:40 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 28217F80166 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=canonical.com header.i=@canonical.com header.b="t2DVMFGq" 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-1.canonical.com (Postfix) with ESMTPSA id 7C1FC41EDF; Mon, 28 Nov 2022 02:29:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1669602578; bh=KWB8E+5B5kOpEDikUKzA61AjtftG8lmxhbq5+kiKMUw=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=t2DVMFGqCGUMIl/YWfJ91ivWXu2abd804y9e5cxBZar0Wko1MPWP8LnP4ob6f1b9y ex3Vba31lxK7gSjrkMHc6PzBPmbOLLNExHdikDhgcmY19TXoDoxKkjaAIQV9DWiWko CPnK6gweu48q3S53vX/V8walzkRWVudtc5jikptk08YqQgCoI0nbpIwTd0JdlSON4r kShWqHrIB+Dllc1FUvCir2PBCbs7o/6/sq7nw4ytxipIXndm2u0sD35Sxglhg06pKm 68M22eVAGXx1d5SrlNFBrwCCy1L2PoBRkqIqv58umHLYQOvvXNxpb70REbgiERSeM9 z4FdX650mJH6g== From: Andy Chi To: Subject: [PATCH] ALSA: hda/realtek: fix mute/micmute LEDs for a HP ProBook Date: Mon, 28 Nov 2022 10:28:47 +0800 Message-Id: <20221128022849.13759-1-andy.chi@canonical.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Cc: Kai-Heng Feng , Stefan Binding , Kailang Yang , Lucas Tanure , Meng Tang , Philipp Jungkamp , Takashi Iwai , Werner Sembach , Tim Crawford , Andy Chi , alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org 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" There is a HP ProBook which using ALC236 codec and need the ALC236_FIXUP_HP_MUTE_LED_MICMUTE_VREF quirk to make mute LED and micmute LED work. 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 e5c036385666..cf7c825078dc 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -9354,6 +9354,8 @@ 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, 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(0x1043, 0x103e, "ASUS X540SA", ALC256_FIXUP_ASUS_MIC), SND_PCI_QUIRK(0x1043, 0x103f, "ASUS TX300", ALC282_FIXUP_ASUS_TX300), SND_PCI_QUIRK(0x1043, 0x106d, "Asus K53BE", ALC269_FIXUP_LIMIT_INT_MIC_BOOST),