Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp1152297pxv; Fri, 25 Jun 2021 06:36:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzlzRppKtLeBvtthS81HmIRSO1WzRBLo4x0uzlSqww3VeWyNjMtJAtrBG74+LtsMTpnyH58 X-Received: by 2002:aa7:db94:: with SMTP id u20mr14623951edt.381.1624628195357; Fri, 25 Jun 2021 06:36:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624628195; cv=none; d=google.com; s=arc-20160816; b=sLwHH5Yqjp+cAbc9K9K2/urbShGyQIoUPexbiWQc55kBR557/rDbYO7Wg7dxCwbcQM uF/aBZ1JCJTrytn5ndaZu/QC37trfRY8CQ+gEV5ZanayNBlKxuO3jUi5ExyAO8ZtJuJB M4SnfnxXXXXVQYPgK+Vk0FL6cK5+0yRoFFiob5LTGTRPhWamKsv+q0jNE2NkGD8dk/JZ Qbd4vIcOvt4xyrClkurbnSyScuJc/JziNLlpe9lZSbMiaAf+aRQaKBzMjELiGkKT/b3w uKdhZBfUuv6uBIYMwaSgoJQxa1g9bW06oc8NG7xWzfLmcRmuNjwS8jauecdPLZozFgw2 yoEg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=l9SBWb1jd2b550smzurTM915x8q16IXLKCL1NqdZNUc=; b=eINAZ5xadCHU4iwftuAEoZ5E0I3tdV62CHMNSpvPpakVEh3zhQs9V2pcQNZhfvYZAA +xMBjIrgs7wB4qTYnv0+G1j0aGQL0SUlSDJIjf3ccMBMA+G5cMYPVOLvHGv0WpcdIxdw wXxFmevXokRAWluxdEQVE8SCb7yB90ixDAtk/CBYmVHTInZnxVrVkvQZ3iEommw0a7xd DRp4elxgscg3IgtFL6/7zZns0OFVcwFaqQCikUbKFNY+guzloul2gdTq3tMWzAd0E+f0 srOjlak4PJ2YgzEaMRR/vBHuzgsjj6TzsAflqsMpBHU2wFLB6/bsfnrrTeHCMMEHXPj4 20sA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o2si6682732edc.561.2021.06.25.06.36.12; Fri, 25 Jun 2021 06:36:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.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: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231644AbhFYNhA (ORCPT + 99 others); Fri, 25 Jun 2021 09:37:00 -0400 Received: from youngberry.canonical.com ([91.189.89.112]:43773 "EHLO youngberry.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231579AbhFYNg6 (ORCPT ); Fri, 25 Jun 2021 09:36:58 -0400 Received: from 118-169-44-162.dynamic-ip.hinet.net ([118.169.44.162] helo=localhost) by youngberry.canonical.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1lwlyO-0001E6-KA; Fri, 25 Jun 2021 13:34:21 +0000 From: Jeremy Szu To: tiwai@suse.com Cc: Jeremy Szu , Jaroslav Kysela , Kailang Yang , Hui Wang , Jian-Hong Pan , Chris Chiu , Huacai Chen , Sami Loone , Werner Sembach , alsa-devel@alsa-project.org (moderated list:SOUND), linux-kernel@vger.kernel.org (open list) Subject: [PATCH] ALSA: hda/realtek: fix mute/micmute LEDs for HP EliteBook 830 G8 Notebook PC Date: Fri, 25 Jun 2021 21:34:13 +0800 Message-Id: <20210625133414.26760-1-jeremy.szu@canonical.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The HP EliteBook 830 G8 Notebook PC using ALC285 codec which using 0x04 to control mute LED and 0x01 to control micmute LED. Therefore, add a quirk to make it works. Signed-off-by: Jeremy Szu --- sound/pci/hda/patch_realtek.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index 49f4cac8b05e..1ea9853bbb09 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -8366,6 +8366,7 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = { SND_PCI_QUIRK(0x103c, 0x87f4, "HP", ALC287_FIXUP_HP_GPIO_LED), SND_PCI_QUIRK(0x103c, 0x87f5, "HP", ALC287_FIXUP_HP_GPIO_LED), SND_PCI_QUIRK(0x103c, 0x87f7, "HP Spectre x360 14", ALC245_FIXUP_HP_X360_AMP), + SND_PCI_QUIRK(0x103c, 0x880d, "HP EliteBook 830 G8 Notebook PC", ALC285_FIXUP_HP_GPIO_LED), SND_PCI_QUIRK(0x103c, 0x8846, "HP EliteBook 850 G8 Notebook PC", ALC285_FIXUP_HP_GPIO_LED), SND_PCI_QUIRK(0x103c, 0x8847, "HP EliteBook x360 830 G8 Notebook PC", ALC285_FIXUP_HP_GPIO_LED), SND_PCI_QUIRK(0x103c, 0x884b, "HP EliteBook 840 Aero G8 Notebook PC", ALC285_FIXUP_HP_GPIO_LED), -- 2.31.1