Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp945734pxb; Fri, 22 Apr 2022 15:03:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz9vc+MIPDz4lxwNnUuoH5XqOEQZVr8tc9bavTnT9Gs5aLCE5oxHtJNk0h8YsIrNeW7Azrd X-Received: by 2002:a9d:1920:0:b0:605:53b4:9e55 with SMTP id j32-20020a9d1920000000b0060553b49e55mr2548384ota.47.1650664983909; Fri, 22 Apr 2022 15:03:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650664983; cv=none; d=google.com; s=arc-20160816; b=yzcEPsh2NwQ82173Qvvh3wLKoq1TUKKu682UGFLEbqgRELksxiTTB9J0HwOgYFIS2J m8V0SZH4gJCXASNFc4ASajshxcWNeqhFpwIECBb440rt0cYz6FIsv4XaYBjpMO/uua/W lwu/Vy55+hffvw90+7K7r9wy2krD9UToEXpbIPuzjP+cI3Axgz0iALNLuRtNIgRmP9e4 cL7QvxdUBpLkVI2TA+L6OxkpeLIi/HNR2dEXvYiJvMhHpPLof4abG/5QOs/c5+sgyd1T iqt24EylPPCBNKFovVxugscNuxwlB1WfizYFubMDAe41Z4n84zUGNZ1fVHjn7ngB+kAa GIDA== 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=/E9SGn6QJgH+NHwgtXxPKQshs3hDtmq0c5DDynNF6PQ=; b=StVmbeI4H600Jm+Okkud9UbpCexUF/jQVEf2WLaL67S/0Gji8eXEQ8Ni/EWwYjNkia jyHSxvL0RTPFhIYTaibn0rG26WpUqvUjq/c+AWHryJlbyx3ShaBg0wQjgDuLBtnv08IS K92IooPBSl+Yih4o+qr0A2b3ImpukpwrZnJd0Iq5kT0uxhtIQ71u+Ql9HQ7s8TzbugBR zqOh3YzeU5UB5F6L/pf0Uw1qVg+5tOjr/LLJcu9LYcWLukyizjuvkwuBwg3v1zuYToGA 85T/grt5fAmsXfzhYtwzDniPOaEJU4MuhW4qmhagKAjONAYoQb2VgvsC/xjG2LyZyPYV iBkQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@canonical.com header.s=20210705 header.b=RYosJOUS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id n9-20020a0568301e8900b005cb2fc137e6si5123909otr.98.2022.04.22.15.03.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Apr 2022 15:03:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=fail header.i=@canonical.com header.s=20210705 header.b=RYosJOUS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=canonical.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 26B7237A92F; Fri, 22 Apr 2022 13:10:09 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1445731AbiDVJS0 (ORCPT + 99 others); Fri, 22 Apr 2022 05:18:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60234 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1445881AbiDVJNH (ORCPT ); Fri, 22 Apr 2022 05:13:07 -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 E36D9DEFD for ; Fri, 22 Apr 2022 02:10:14 -0700 (PDT) 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 8420A3F837; Fri, 22 Apr 2022 09:10:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1650618613; bh=/E9SGn6QJgH+NHwgtXxPKQshs3hDtmq0c5DDynNF6PQ=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=RYosJOUSpgkcwps8nnJJ575JV7WwPWX3ySczbHKSwZdiQNnHk9NdkkFyLoZVImHWU HbV7hzdEYVXdAyT1wuiYk3aQptE+GW4B1DVxtSc/nqy8SXJMBUGDXhyvVxnzhk2V1I gsvErOoYbigolruv+KrxwcpfYOVXSPA4UnK6GZMjbb34zeNiVyVbpElR8VNNcbPO52 YMHDXfDc9v5l5bhLcswWGkpZcVMLFgi4NP9rA1YKz9QnfJKOvDEz+5hVSeWpFqRVXQ PgHoukHeMiQ6txjg+Gro712MaoZ340VjypfziP9Fkg/Q9uVHf9fPgeiRRDanTM9yW0 +sUPw9BEJ0EOg== From: Andy Chi Cc: andy.chi@canonical.com, Jaroslav Kysela , Takashi Iwai , Jeremy Szu , Werner Sembach , Kai-Heng Feng , Hui Wang , Lucas Tanure , Cameron Berkenpas , Kailang Yang , Sami Loone , alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org Subject: [PATCH] ALSA: hda/realtek: Enable mute/micmute LEDs support for HP Laptops Date: Fri, 22 Apr 2022 17:08:43 +0800 Message-Id: <20220422090845.230071-1-andy.chi@canonical.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE autolearn=no 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 Laptops, requires the same ALC285_FIXUP_HP_GPIO_LED quirk to make its audio LEDs work. So apply the quirk, and make it the last one since it's an LED quirk. Signed-off-by: Andy Chi --- sound/pci/hda/patch_realtek.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index 0cba2f19a772..29de8d7959c7 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -9023,12 +9023,12 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = { SND_PCI_QUIRK(0x103c, 0x8896, "HP EliteBook 855 G8 Notebook PC", ALC285_FIXUP_HP_MUTE_LED), SND_PCI_QUIRK(0x103c, 0x8898, "HP EliteBook 845 G8 Notebook PC", ALC285_FIXUP_HP_LIMIT_INT_MIC_BOOST), SND_PCI_QUIRK(0x103c, 0x88d0, "HP Pavilion 15-eh1xxx (mainboard 88D0)", ALC287_FIXUP_HP_GPIO_LED), - SND_PCI_QUIRK(0x103c, 0x896e, "HP EliteBook x360 830 G9", ALC245_FIXUP_CS35L41_SPI_2), - SND_PCI_QUIRK(0x103c, 0x8971, "HP EliteBook 830 G9", ALC245_FIXUP_CS35L41_SPI_2), - SND_PCI_QUIRK(0x103c, 0x8972, "HP EliteBook 840 G9", ALC245_FIXUP_CS35L41_SPI_2), - SND_PCI_QUIRK(0x103c, 0x8973, "HP EliteBook 860 G9", ALC245_FIXUP_CS35L41_SPI_2), - SND_PCI_QUIRK(0x103c, 0x8974, "HP EliteBook 840 Aero G9", ALC245_FIXUP_CS35L41_SPI_2), - SND_PCI_QUIRK(0x103c, 0x8975, "HP EliteBook x360 840 Aero G9", ALC245_FIXUP_CS35L41_SPI_2), + SND_PCI_QUIRK(0x103c, 0x896e, "HP EliteBook x360 830 G9", ALC245_FIXUP_CS35L41_SPI_2_HP_GPIO_LED), + SND_PCI_QUIRK(0x103c, 0x8971, "HP EliteBook 830 G9", ALC245_FIXUP_CS35L41_SPI_2_HP_GPIO_LED), + SND_PCI_QUIRK(0x103c, 0x8972, "HP EliteBook 840 G9", ALC245_FIXUP_CS35L41_SPI_2_HP_GPIO_LED), + SND_PCI_QUIRK(0x103c, 0x8973, "HP EliteBook 860 G9", ALC245_FIXUP_CS35L41_SPI_2_HP_GPIO_LED), + SND_PCI_QUIRK(0x103c, 0x8974, "HP EliteBook 840 Aero G9", ALC245_FIXUP_CS35L41_SPI_2_HP_GPIO_LED), + SND_PCI_QUIRK(0x103c, 0x8975, "HP EliteBook x360 840 Aero G9", ALC245_FIXUP_CS35L41_SPI_2_HP_GPIO_LED), SND_PCI_QUIRK(0x103c, 0x8981, "HP Elite Dragonfly G3", ALC245_FIXUP_CS35L41_SPI_4), SND_PCI_QUIRK(0x103c, 0x898e, "HP EliteBook 835 G9", ALC287_FIXUP_CS35L41_I2C_2), SND_PCI_QUIRK(0x103c, 0x898f, "HP EliteBook 835 G9", ALC287_FIXUP_CS35L41_I2C_2), -- 2.25.1