From patchwork Wed Jul 7 14:10:09 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andy Chi X-Patchwork-Id: 1501775 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 4GKhCn1Khkz9tkP; Thu, 8 Jul 2021 00:10:45 +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 1m18G8-0006V9-AO; Wed, 07 Jul 2021 14:10:40 +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 1m18Fx-0006Kq-Vq for kernel-team@lists.ubuntu.com; Wed, 07 Jul 2021 14:10:30 +0000 Received: from mail-pj1-f70.google.com ([209.85.216.70]) by youngberry.canonical.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1m18Fw-0000z4-GJ for kernel-team@lists.ubuntu.com; Wed, 07 Jul 2021 14:10:28 +0000 Received: by mail-pj1-f70.google.com with SMTP id r5-20020a17090aad05b02901727bad5ccaso3943426pjq.3 for ; Wed, 07 Jul 2021 07:10:28 -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=ZtJJX1w6GC1T7ua1pv2FAfzaGOh829+lQLrck7eF/lU=; b=rxtlVPf7CJHzk5Fw/6nxwkzL5gza5AZCB9tmq+7Uy4mE9TGawX2KChLikQJSOvTmrf C47NER+Aasro2NF7obVX4Q4k20PoCiKrOd7vqWOuHE0KJCwQ/icL/6PimPsW5lqlKRnD Ed40UhGUNLFlxo8QdMdV9I+ilxtPdpjBndve1pQq5187cmryw17EwhbqpPUaFJREkqxL aBJuJwqYjOXb54gpHxQtTtiF3l6TxaOmmYNZS9RlCZBwN9+f/zd/uGpT0Ke65xrW+EnS +RxxgiOOjZXQGU+rFd10Yp0LWk+TqTe5jnu76sdZ0kWEp9rb1k+jzofEub3ComYfAvar u/Zg== X-Gm-Message-State: AOAM533uRGivwYFfbFOp5nE5uQp2TVfnp5z4lV0GAfKxuwoHvROCZc+0 65aKcJNXXR/eEh2zVTNs9Eb6ag6xLgsMhxieJNA/S0CzxOmYjXh6gEFmnw0/sXjxwESCcoPAc4f LvRlMZF7PmmC42El3W1/mSSSCNBEbg2NpfYPrr4TXvQ== X-Received: by 2002:a63:fa50:: with SMTP id g16mr26907931pgk.16.1625667027296; Wed, 07 Jul 2021 07:10:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJweSkrWlv0zGoirPFX4fVdPBaP6ZvN6yT/9UOXt/DVVLNHXlJrFcQjBuDpdIhWgOij12Zp/uQ== X-Received: by 2002:a63:fa50:: with SMTP id g16mr26907916pgk.16.1625667027116; Wed, 07 Jul 2021 07:10:27 -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.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Jul 2021 07:10:26 -0700 (PDT) From: Andy Chi To: kernel-team@lists.ubuntu.com Subject: [SRU] [OEM-5.13] [PATCH 3/3] ALSA: hda/realtek: fix mute/micmute LEDs for HP ProBook 630 G8 Date: Wed, 7 Jul 2021 22:10:09 +0800 Message-Id: <20210707141010.536437-12-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 (cherry picked 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),