Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp473947pxv; Thu, 1 Jul 2021 02:23:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxtUnJrMZmselzVxalrTZbMQ6Jas3XcCtS5rGSkVrnprRIiGHEjc5SwcHR2RZ3OTPwnIvM1 X-Received: by 2002:a92:c546:: with SMTP id a6mr6196308ilj.205.1625131389504; Thu, 01 Jul 2021 02:23:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625131389; cv=none; d=google.com; s=arc-20160816; b=TLs2doZuawV+D8yQ2KrT10sBoWmBxHciv0SKMnmO3/676R1AKn+qOSvdGvf+dbum41 w4S2orrDl5/P6YdWBjD2Snh/C7CL9m9jmbJZGYVLyf6LibmFEcloS3az2+gmEw9zMjwo PZ4Wxt1mUwmD72l2y+MVrRsj7UGQdJPXkgt0Sv6j5cSZwAT7/jv3JXBqO4o1pIndhQvU TvTTNYdsSVEl9XsbeB3bZyVXy6I75+AlI0QT1OAKPPgwu7dYSpmphuqtdmqoRuzUunjT hR1YkUk//+2bFSOBYEaGoM34oJaQngOqpOSJDlNgNGw/4dp6/JgNAmzBkrJi/m4P0ZmR cQnQ== 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; bh=xPTN30ZO1AZ2z4aTyWnCz44BtVf74Dz6y2exPPRRYvk=; b=B35gvcmdrsN2izb0EF9+aiXBDBKvJCXhJectBs9yxGOuekFN8E3gDFEsrKpCtv7skm jO7dQnyr71MEgUkZMP67yoKLWjuuB4UeMb6NdSdXTFnMWoWs1Yo2b7GCvXETtrSnKblk GXGmMVkodtlDtK+3uqzAM5ZXRm+UnTss1CRBBQqJyjAgkrNQ8/gzuEdFI4FpwKkKrh3w +L/VcBhB4SjrvmnOWYgr2nztXVfhsd0waiW/0At4FNo5kbCuJqFprLXtiRPBmNzhhhYx U63E1Nja33JDRQGBF3aWfoJ4B5prdTTuzsJA+A3CV0CGLxIjIHjqyY81WKDzQIly63Oj 7DVA== 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 n28si18767339jap.124.2021.07.01.02.22.57; Thu, 01 Jul 2021 02:23:09 -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 S235703AbhGAJRI (ORCPT + 99 others); Thu, 1 Jul 2021 05:17:08 -0400 Received: from youngberry.canonical.com ([91.189.89.112]:56475 "EHLO youngberry.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235088AbhGAJRH (ORCPT ); Thu, 1 Jul 2021 05:17:07 -0400 Received: from mail-pj1-f72.google.com ([209.85.216.72]) by youngberry.canonical.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1lysmK-000749-0s for linux-kernel@vger.kernel.org; Thu, 01 Jul 2021 09:14:36 +0000 Received: by mail-pj1-f72.google.com with SMTP id x1-20020a17090ab001b02901726198443cso520548pjq.8 for ; Thu, 01 Jul 2021 02:14:35 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=xPTN30ZO1AZ2z4aTyWnCz44BtVf74Dz6y2exPPRRYvk=; b=SKjRsD+xkwVXwtCxdcfdX4SNKmfTi43WPaccCHFWHEdE9S5heNu6IDhs5aObuq590W HzQR3T+axWuQzf8lqkAYUK4HXJoOtdTSkV62SHr8/pHH/jr/DM6BvAK4DBxS4LgfW/z6 1lpq+kCixNQJe+XavbQpdIuzd9Tkq1IaOAbepKn09YLufinEWKHWFX5OB0cJ8XAcWQU2 1Nz64TQgNIhlHtZ/uqMC/3338EQ+OIdECxTPCLcc6QoL/KDvvV7gtO/3G4JEqT92JQeV 4F/hUJotHWEZmvJRRhkEkjrvMFDNKZLjcvqrF2726w9kjAPhGxyZhYYh+D9o0vEwO976 YRPA== X-Gm-Message-State: AOAM532WehUh4GU07J/Pr5KG4Vp6dTkOfkoZHfavMUTXifGwQX33Ccmu hxwlWdnnqklcdj9S7wu80kxWalJrey96VUXwoQqpV/uCRR1s8gguMA7NiZP8jlbNQfw4PBH2xzV Dvq1cPWK5Xt5PZ10jVE1kAHufbshXWWckMXui1DAilQ== X-Received: by 2002:a17:902:760c:b029:129:2dde:f8c9 with SMTP id k12-20020a170902760cb02901292ddef8c9mr3176897pll.41.1625130874737; Thu, 01 Jul 2021 02:14:34 -0700 (PDT) X-Received: by 2002:a17:902:760c:b029:129:2dde:f8c9 with SMTP id k12-20020a170902760cb02901292ddef8c9mr3176876pll.41.1625130874499; Thu, 01 Jul 2021 02:14:34 -0700 (PDT) Received: from localhost.localdomain (61-220-137-37.HINET-IP.hinet.net. [61.220.137.37]) by smtp.gmail.com with ESMTPSA id c14sm18133190pfj.205.2021.07.01.02.14.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Jul 2021 02:14:34 -0700 (PDT) From: Andy Chi Cc: andy.chi@canonical.com, Jaroslav Kysela , Takashi Iwai , Kailang Yang , Jeremy Szu , 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 v2 1/3] ALSA: hda/realtek: fix mute/micmute LEDs for HP ProBook 450 G8 Date: Thu, 1 Jul 2021 17:14:13 +0800 Message-Id: <20210701091417.9696-1-andy.chi@canonical.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit To: unlisted-recipients:; (no To-header on input) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The HP ProBook 450 G8 using ALC236 codec which using 0x02 to control mute LED and 0x01 to control micmute LED. Therefore, add a quirk to make it works. Signed-off-by: Andy Chi --- 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 308a58a83f33..6c423172a1f4 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -8363,6 +8363,7 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = { ALC285_FIXUP_HP_GPIO_AMP_INIT), SND_PCI_QUIRK(0x103c, 0x87c8, "HP", ALC287_FIXUP_HP_GPIO_LED), SND_PCI_QUIRK(0x103c, 0x87e5, "HP ProBook 440 G8 Notebook PC", ALC236_FIXUP_HP_GPIO_LED), + SND_PCI_QUIRK(0x103c, 0x87e7, "HP ProBook 450 G8 Notebook PC", ALC236_FIXUP_HP_GPIO_LED), SND_PCI_QUIRK(0x103c, 0x87f2, "HP ProBook 640 G8 Notebook PC", ALC236_FIXUP_HP_GPIO_LED), SND_PCI_QUIRK(0x103c, 0x87f4, "HP", ALC287_FIXUP_HP_GPIO_LED), SND_PCI_QUIRK(0x103c, 0x87f5, "HP", ALC287_FIXUP_HP_GPIO_LED), -- 2.25.1