Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp16130488rwd; Mon, 26 Jun 2023 06:13:35 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7fjwLJKpyBjm5FCFoPojjfCTtU301ASmXKstWN6h9MV5j9hVuy+ENbj7QKWLNOMMUz5EeS X-Received: by 2002:a17:907:970e:b0:98d:470d:6c7e with SMTP id jg14-20020a170907970e00b0098d470d6c7emr11711588ejc.16.1687785215589; Mon, 26 Jun 2023 06:13:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687785215; cv=none; d=google.com; s=arc-20160816; b=DvkQMCAuHjXb70I1770YpdZ9cZolDNququrp6BPMLAniMmHbQf6zBsQXcY9U+m6vs2 3pu3q+nFDS6qPjVu/iP/oOQkVXz/8kkrjNUqd3nrEgViAOiA32YujIVSh1beNoSXJTvO HQztHCRWhCl123a/UhSmf4bAILx1o7JB4/N/N8F04R8kB2ZJlCB14nUDxzWXKv7kBWaq +jjC/h4blspScrCA99ZpdnWYrMaeYnFPnu16p17gLWxi2KqnwGmssUzt/34Sic93WrmC kOv4VoqJzGbKXPMsn/l5EptCrOJ6iO9kmWhjZcLsM1qbz1msTJQDy8TR5a9426byojbP q9gg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:content-transfer-encoding:mime-version :message-id:date:subject:cc:from:dkim-signature; bh=VCCCiUmHvsr/fdNFHRnj1bRWyKTxAaw6OYNWtLpXgTU=; fh=4Eh9mL+2Z1+R91nsIzJgTJENABQwBM6GImYK7iSgP88=; b=CaXCMYaF/YxTHVuRqucSJ4elGJ41ZZgvqGb/Q70z0SF95guwzA7W4lmn7/hyRQUeB8 O0q+x5Hiw05UrjwJxW/gTnK1csL4K2JEapyiaG9AhAHvot3fp5cGKEC/mQEZ3jfdu8ZO A2bAX8qCmOvAV9TSECDTNSlFI54qd2RsXMk5UArpLQ3hUcCGAMXeenyVs0M3L5ofOU31 mjkBZ+Ku5KTMqUZB+zMCVidR++w9eJ41lnlmLj64tblQEqpjahJKfC3q20VmXL9ByYNK q19NNa7/eps4GqD7baT6fPrkTlLpXgy92aLLTYLMgRcwDNJexK9mp0aTls0OGAetx8wv NRrg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@canonical.com header.s=20210705 header.b=lZW2wUzB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=canonical.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t19-20020a170906065300b0098947f89083si2949206ejb.390.2023.06.26.06.13.10; Mon, 26 Jun 2023 06:13:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=fail header.i=@canonical.com header.s=20210705 header.b=lZW2wUzB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=canonical.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231203AbjFZNDp (ORCPT + 99 others); Mon, 26 Jun 2023 09:03:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52962 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229875AbjFZNDa (ORCPT ); Mon, 26 Jun 2023 09:03:30 -0400 Received: from smtp-relay-canonical-0.canonical.com (smtp-relay-canonical-0.canonical.com [185.125.188.120]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6A0CB98 for ; Mon, 26 Jun 2023 06:03:15 -0700 (PDT) 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 Cc: andy.chi@canonical.com, Jaroslav Kysela , Takashi Iwai , Stefan Binding , "Luke D. Jones" , Meng Tang , Philipp Jungkamp , =?UTF-8?q?Kacper=20Michaj=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 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net To: unlisted-recipients:; (no To-header on input) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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), -- 2.34.1