From patchwork Wed Jul 7 14:10:10 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andy Chi X-Patchwork-Id: 1501779 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=) Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4GKhL91Bs1z9sjD; Thu, 8 Jul 2021 00:16:17 +1000 (AEST) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1m18LV-0006y5-Ki; Wed, 07 Jul 2021 14:16:13 +0000 Received: from youngberry.canonical.com ([91.189.89.112]) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1m18LS-0006xv-Uf for kernel-team@lists.ubuntu.com; Wed, 07 Jul 2021 14:16:10 +0000 Received: from mail-ot1-f72.google.com ([209.85.210.72]) by youngberry.canonical.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1m18LS-0001P6-Mz for kernel-team@lists.ubuntu.com; Wed, 07 Jul 2021 14:16:10 +0000 Received: by mail-ot1-f72.google.com with SMTP id c1-20020a0568303481b0290484dd781259so1685786otu.6 for ; Wed, 07 Jul 2021 07:16:10 -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:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=gfbQE7v0bgpBiBkWjZFlNmIHXTyTRO35D2Dsn29gm58=; b=S2r01dvt5ba+OodcWcX3/riGISjICtLeYg76zynEqrqu8/vY21WYoRfrcTx0ueukDv zEPSCUJsjhx/CNeWDLGQQKfyPjxHmqDUW6s3OADI6SiqQzZTnOiMKHpe3s1MmZ1OwQP7 0ua+H1fhsPgwrC2gDOzZ1fKJjzqg7/LeqPZZm47QkcfBqDlKrt+uhkt2i84YbGwnlYb9 BE25hNyT7dQBmuAB1RH/hExpNHcbpuDbcq+X6JCUFNnKb5PJr6n7f8GUiEsjs/VMVJAt R+bvvzl+tYsCo9SGUczw23akcEUTpiZhDz/EJRK0kTLTahyyKQgflaU1TPNGEX2Dft8f zwgQ== X-Gm-Message-State: AOAM530Fgu6GirzcECyePeJgf06vUqNYtNd4jYw5dt2rPWeB8b7GMzrx vy9Mad+k45as6XziezFZDD7w7wLp/VXBE7Y4dSNEpF+0hoSkKFvb//EyABNFEdlP5LGBd7K4jSL NrGmBDz8EUyQj9wWKhGU/sIG0HO0ZzpmWss4iCeHDrw== X-Received: by 2002:a17:90a:b704:: with SMTP id l4mr20375715pjr.55.1625667028487; Wed, 07 Jul 2021 07:10:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxf0A0MM3r7zfRZMBaQk9RGyA95NRbJkJEF4YRzLsFFgSLFN22R+GiPx/nlS9+ItljspEyLkg== X-Received: by 2002:a17:90a:b704:: with SMTP id l4mr20375698pjr.55.1625667028263; Wed, 07 Jul 2021 07:10:28 -0700 (PDT) Received: from localhost.localdomain (61-220-137-34.HINET-IP.hinet.net. [61.220.137.34]) by smtp.gmail.com with ESMTPSA id n47sm12384689pfv.55.2021.07.07.07.10.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Jul 2021 07:10:27 -0700 (PDT) From: Andy Chi To: kernel-team@lists.ubuntu.com Subject: [SRU] [U] [PATCH 3/3] ALSA: hda/realtek: fix mute/micmute LEDs for HP ProBook 630 G8 Date: Wed, 7 Jul 2021 22:10:10 +0800 Message-Id: <20210707141010.536437-13-andy.chi@canonical.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210707141010.536437-1-andy.chi@canonical.com> References: <20210707141010.536437-1-andy.chi@canonical.com> MIME-Version: 1.0 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" BugLink: https://bugs.launchpad.net/bugs/1934878 The HP ProBook 630 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 Cc: Link: https://lore.kernel.org/r/20210701091417.9696-3-andy.chi@canonical.com Signed-off-by: Takashi Iwai (backported from commit fb3acdb2ba289aa06a5a995b3abef409bfe0a220) 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 25a32b718fbc..58e185c6e77f 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -8337,6 +8337,7 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = { 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, 0x87f1, "HP ProBook 630 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),