From patchwork Mon Jun 26 13:03:00 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andy Chi X-Patchwork-Id: 696912 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 C8B7DEB64D7 for ; Mon, 26 Jun 2023 13:04:48 +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 600D1E89; Mon, 26 Jun 2023 15:03:55 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 600D1E89 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1687784685; bh=jIx4gylUv2RWUkw3jVakf5uiIwq3dsGB57ORsem53yk=; h=From:To:Cc:Subject:Date:List-Id:List-Archive:List-Help:List-Owner: List-Post:List-Subscribe:List-Unsubscribe:From; b=KNCgWm2A20XcbOd9yLaq8/30kVFaJyxHMyKH+/PajB2U1F4e2+85UhwIMf5A1TE/D vWbVBi2r4fn6z8IQIkb58elLB8sRn6A+r0pgrz/FgYX4e/MiFcGt6wuQQzdcaHjllA GYFyOv3d0TLF1hz0KdsMQgzn/Y4J+Fsi70mdiYJE= Received: by alsa1.perex.cz (Postfix, from userid 50401) id B3340F80535; Mon, 26 Jun 2023 15:03:28 +0200 (CEST) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id B5279F80246; Mon, 26 Jun 2023 15:03:27 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 9E9A2F80246; Mon, 26 Jun 2023 15:03:22 +0200 (CEST) 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 5596AF80093 for ; Mon, 26 Jun 2023 15:03:13 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 5596AF80093 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=lZW2wUzB Received: from andch-XPS-15-9520.. (1-163-86-27.dynamic-ip.hinet.net [1.163.86.27]) (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 3FA113F25E; Mon, 26 Jun 2023 13:03:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1687784591; bh=VCCCiUmHvsr/fdNFHRnj1bRWyKTxAaw6OYNWtLpXgTU=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=lZW2wUzBoldP9KdC2NsmVBfb3KUGLDiDTL1JxNAECqIFxsZpP/okeRKNN8VMez0Gk hFFNnSbbNBblmYpFGu7PqoN+6bhsa2B/mEpW6/JTzg4ZXu/mJo4qL+0HvU5boSBlE8 Kwhjp5O7GTMD15WByN3dBxWBaFxLaRvZSXNeRxY26FD5FyoH4XPoXHW5FiRS849FCw agSVVUqtMeX3qkwLg//bLdNvvWUGgrqaa9PbOhCA1kwpK2BQqhwGnUO23robmDMNoo Gch4gwbuTnmkNxA5abB4IsiU4OtbEDjL6qKQ5LtKwuomwIgSpkIDKH99prZT9uMH8S BWkXd/TRST2rA== From: Andy Chi To: Cc: andy.chi@canonical.com, Jaroslav Kysela , Takashi Iwai , Stefan Binding , "Luke D. Jones" , Meng Tang , Philipp Jungkamp , =?utf-8?q?Kacper_Michaj=C5=82ow?= , Yuchi Yang , Yang Yingliang , alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org Subject: [PATCH] ALSA: hda/realtek: Enable mute/micmute LEDs and limit mic boost on EliteBook Date: Mon, 26 Jun 2023 21:03:00 +0800 Message-Id: <20230626130301.301712-1-andy.chi@canonical.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Message-ID-Hash: LM4FZDIQCYRMZPD7WO2Z2HJXBCLXBR5T X-Message-ID-Hash: LM4FZDIQCYRMZPD7WO2Z2HJXBCLXBR5T 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 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 EliteBook 835/845/845W G10, the audio LEDs can be enabled by ALC285_FIXUP_HP_MUTE_LED. So use it accordingly. Signed-off-by: Andy Chi --- sound/pci/hda/patch_realtek.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index ea09de384c91..42d39ad84117 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -9493,9 +9493,9 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = { SND_PCI_QUIRK(0x103c, 0x8b63, "HP Elite Dragonfly 13.5 inch G4", ALC245_FIXUP_CS35L41_SPI_4_HP_GPIO_LED), SND_PCI_QUIRK(0x103c, 0x8b65, "HP ProBook 455 15.6 inch G10 Notebook PC", ALC236_FIXUP_HP_MUTE_LED_MICMUTE_VREF), SND_PCI_QUIRK(0x103c, 0x8b66, "HP", ALC236_FIXUP_HP_MUTE_LED_MICMUTE_VREF), - SND_PCI_QUIRK(0x103c, 0x8b70, "HP EliteBook 835 G10", ALC287_FIXUP_CS35L41_I2C_2), - SND_PCI_QUIRK(0x103c, 0x8b72, "HP EliteBook 845 G10", ALC287_FIXUP_CS35L41_I2C_2), - SND_PCI_QUIRK(0x103c, 0x8b74, "HP EliteBook 845W G10", ALC287_FIXUP_CS35L41_I2C_2), + SND_PCI_QUIRK(0x103c, 0x8b70, "HP EliteBook 835 G10", ALC287_FIXUP_CS35L41_I2C_2_HP_GPIO_LED), + SND_PCI_QUIRK(0x103c, 0x8b72, "HP EliteBook 845 G10", ALC287_FIXUP_CS35L41_I2C_2_HP_GPIO_LED), + SND_PCI_QUIRK(0x103c, 0x8b74, "HP EliteBook 845W G10", ALC287_FIXUP_CS35L41_I2C_2_HP_GPIO_LED), SND_PCI_QUIRK(0x103c, 0x8b77, "HP ElieBook 865 G10", ALC287_FIXUP_CS35L41_I2C_2), SND_PCI_QUIRK(0x103c, 0x8b7a, "HP", ALC236_FIXUP_HP_GPIO_LED), SND_PCI_QUIRK(0x103c, 0x8b7d, "HP", ALC236_FIXUP_HP_GPIO_LED),