From patchwork Wed Jul 7 14:10:07 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andy Chi X-Patchwork-Id: 1501772 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 4GKhCn1Fdyz9tk7; Thu, 8 Jul 2021 00:10:40 +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 1m18G3-0006Pz-6j; Wed, 07 Jul 2021 14:10:35 +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 1m18Fu-0006Iq-Ik for kernel-team@lists.ubuntu.com; Wed, 07 Jul 2021 14:10:26 +0000 Received: from mail-pf1-f197.google.com ([209.85.210.197]) by youngberry.canonical.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1m18Fu-0000ym-6j for kernel-team@lists.ubuntu.com; Wed, 07 Jul 2021 14:10:26 +0000 Received: by mail-pf1-f197.google.com with SMTP id l21-20020a056a0016d5b0290319e1ac27b1so1575849pfc.12 for ; Wed, 07 Jul 2021 07:10:26 -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=6ty+WeacVVJTpZ7+p37Jk7tvQTxoC98G2HTm8sS3rls=; b=O7whXtzYqBXNf7iVd82i+4X4fPui3960RqA3e2wxKJ1jHNTUUZFw8g4o+ba/TBbCAW dgSwL3yScEQ+7mP2X5qoHdjyYu4hM53zQ/m1+m+RX6Cvrj0//uKnkSnKcCGkF9oh8Iw5 5P6FzDytt88U8VsnBKUcAd6JihfYScROSUx8J+ITZpkTRU0YtFcpXRo9umzGAE4AtNed bD5e+cTg3EhhFS1O6t7IjPthCz7v9n3zNUHKYQvmXW/VWENvGLfAWz+PeTbLc85xsFsz 0PujqmsxP4JpW617BkrL4jGP0X+g3rDk55MqmyH6TsuBrZBjxe3XpLqeCAOxHoTojnHc ahUg== X-Gm-Message-State: AOAM53257BYFA+RTstkcGAgSDvw2s3e4azpNceocvPXTGvd/jvgW30KO 5ArxUYvvyQ3nGvbv93+xscFEF+DLPGpgqhmaOQCCmS2PCqUbVyMidTKv7QX2CLLEbliBlnDIO+O xdybAIvcfjZU/bEiJt9y6E6L6JXpXSgEWxds67KLIzg== X-Received: by 2002:a17:903:2341:b029:129:1282:fd37 with SMTP id c1-20020a1709032341b02901291282fd37mr21379398plh.6.1625667024977; Wed, 07 Jul 2021 07:10:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx+l3SHBH//Q8TQMtrtgXC/AIvDIKH4uWk3z4ZjjFi2T0XI7wjCza4AeLBmHTYS5wpseq8ZGg== X-Received: by 2002:a17:903:2341:b029:129:1282:fd37 with SMTP id c1-20020a1709032341b02901291282fd37mr21379384plh.6.1625667024770; Wed, 07 Jul 2021 07:10:24 -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.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Jul 2021 07:10:24 -0700 (PDT) From: Andy Chi To: kernel-team@lists.ubuntu.com Subject: [SRU] [OEM-5.10] [PATCH 3/3] ALSA: hda/realtek: fix mute/micmute LEDs for HP ProBook 630 G8 Date: Wed, 7 Jul 2021 22:10:07 +0800 Message-Id: <20210707141010.536437-10-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 4370c09c569d..2eaad75a384e 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -8328,6 +8328,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),