From patchwork Wed Jul 7 14:09:59 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andy Chi X-Patchwork-Id: 1501765 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 4GKhCM0Gp1z9t0p; Thu, 8 Jul 2021 00:10:23 +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 1m18Fn-0006DL-7e; Wed, 07 Jul 2021 14:10:19 +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 1m18Fk-0006CN-He for kernel-team@lists.ubuntu.com; Wed, 07 Jul 2021 14:10:16 +0000 Received: from mail-pf1-f199.google.com ([209.85.210.199]) by youngberry.canonical.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1m18Fk-0000sI-AS for kernel-team@lists.ubuntu.com; Wed, 07 Jul 2021 14:10:16 +0000 Received: by mail-pf1-f199.google.com with SMTP id 124-20020a6217820000b02902feebfd791eso1561367pfx.19 for ; Wed, 07 Jul 2021 07:10:16 -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=MpC2n/8Yp/vehoMIKFnLefskTl17QU7EmCZVHYCirNQ=; b=b8xqH3+IOTCz5/hN97KL/Dj1DPv3dvXr0qdI7Ckbx405FIvLgtcDdUcrRk+ZxtZndw R8zPxS8i+8EBlte86E2dGkxnJpU2PKBhIdP68Di5MFXwOYeSvwcCuZLAmZt5Xf/XT+Zn LN8q2nx1BuNjSCLED0FiC2WS4MECelHQUG8vW+5/HHHWSyzFDBkIG0pHH1AIVIbFlCcn ZDqXms1omuzMUS9batbEGwlkA4JtE6iWZwg6LeAck0aJ0D9+cWw6bY+htFGfEQCGFujQ /HtiEgfDtd2TbehQoB9+P5CsevY75OgAnSLODPLgFny8kaSJp07tBXOggS5+Q2lz3Td0 7Gww== X-Gm-Message-State: AOAM530nQsQTNkSlSzy91evwDNfYQZ4l2UQ8l3W8oD9pXM8fahTqXpuu o23wxXksladnQs3b2+PFE9A5e7+f1gOQ9fFzSWz9hPTWJ/Y/Z0QJFWwU0CfMxhekol7zIgnVr/5 0wtcul+Bdrzj9z8vANt1XraAxHTOCceqdKa+eyocjLQ== X-Received: by 2002:a17:90a:d58f:: with SMTP id v15mr6228040pju.117.1625667015106; Wed, 07 Jul 2021 07:10:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz1Zz77Bxp8nBo37U0tA+/oa1q22ESzOYNXyOD1uHxZVzonbbZ8BiXG7HtRVW0naheqS8Ljjw== X-Received: by 2002:a17:90a:d58f:: with SMTP id v15mr6227997pju.117.1625667014582; Wed, 07 Jul 2021 07:10:14 -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.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Jul 2021 07:10:14 -0700 (PDT) From: Andy Chi To: kernel-team@lists.ubuntu.com Subject: [SRU] [OEM-5.10] [PATCH 1/3] ALSA: hda/realtek: fix mute/micmute LEDs for HP ProBook 450 G8 Date: Wed, 7 Jul 2021 22:09:59 +0800 Message-Id: <20210707141010.536437-2-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 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 Cc: Link: https://lore.kernel.org/r/20210701091417.9696-1-andy.chi@canonical.com Signed-off-by: Takashi Iwai (backported from commit 2b70b264d34d398c77a5936e317336f00cf5badb) 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 9ca265be9633..82c03216802e 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -8327,6 +8327,7 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = { SND_PCI_QUIRK(0x103c, 0x8783, "HP ZBook Fury 15 G7 Mobile Workstation", 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),