From patchwork Wed Jul 7 14:10:00 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andy Chi X-Patchwork-Id: 1501766 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 4GKhCP33p8z9t25; Thu, 8 Jul 2021 00:10:25 +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 1m18Fp-0006Ea-CG; Wed, 07 Jul 2021 14:10:21 +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 1m18Fl-0006Cq-Q9 for kernel-team@lists.ubuntu.com; Wed, 07 Jul 2021 14:10:17 +0000 Received: from mail-pj1-f71.google.com ([209.85.216.71]) by youngberry.canonical.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1m18Fl-0000sy-I9 for kernel-team@lists.ubuntu.com; Wed, 07 Jul 2021 14:10:17 +0000 Received: by mail-pj1-f71.google.com with SMTP id y6-20020a17090a86c6b0290173127a7196so1967385pjv.4 for ; Wed, 07 Jul 2021 07:10:17 -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=HWXN5IfkmetL+0NG/KfeliVXVkwhBsorNscAb1KkrOU=; b=tCmktRuxja1nGFWm48jIngN1rRUEpq/tNiPJaP7z0qpVjDTVvRtMz64ZGARkFwwKHT LJ+pQozQmiLU35CgDPf6ITbdn7iU8iZ6QJcwLSwRxqAnCzJ979pWuhLgsy9yD5niC7qv 4bO69Q6vPyRsQXCYveZgTO7+BPfLjVMVSdJ8jx2RJlfdA3xwKaQRkpUJzuVibRD6AmME hhURd/hMwzVNks2mSIllmvprSHpJSFY08dzQIpaU56CRbxmFmI/uEAMV9wa+mWaN/09q /GyNQ/lgQ/Gy8jaIWftph9lyWwKMDq+O30cLlqNTZhuxsWcWwggalKuzBR+NCstAhG6R 9ysw== X-Gm-Message-State: AOAM5327sfWhXoh2meUeAytY+YfvYLQ/787r+bhjqaL5Mevds96/hteW zcbDVqtOCexx8nmkwjA/tlZxFRDetLpKCPryUBguqOOpRczIK9ZKAwCTLSZOatT+TaLVJkURMxg KXqHSKeelS9R4j1WH9z6ka71t5wB356v7Jdf3u7ONAg== X-Received: by 2002:a05:6a00:1988:b029:324:2bf0:d769 with SMTP id d8-20020a056a001988b02903242bf0d769mr6845303pfl.68.1625667016339; Wed, 07 Jul 2021 07:10:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwtxaXAT3fVjK9oKWf4PmHOiY5/MpbQrDC8Gq9prsnKKm/5Br+jj846pTMIKS7v9Bc2tPqPXw== X-Received: by 2002:a05:6a00:1988:b029:324:2bf0:d769 with SMTP id d8-20020a056a001988b02903242bf0d769mr6845286pfl.68.1625667016076; Wed, 07 Jul 2021 07:10:16 -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.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Jul 2021 07:10:15 -0700 (PDT) From: Andy Chi To: kernel-team@lists.ubuntu.com Subject: [SRU] [I/H] [PATCH 1/3] ALSA: hda/realtek: fix mute/micmute LEDs for HP ProBook 450 G8 Date: Wed, 7 Jul 2021 22:10:00 +0800 Message-Id: <20210707141010.536437-3-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 b3fbdba6c33b..15f24672b102 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -8154,6 +8154,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),