From patchwork Wed Jul 7 14:10:01 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andy Chi X-Patchwork-Id: 1501767 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 4GKhCQ4QVBz9t2b; Thu, 8 Jul 2021 00:10:26 +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 1m18Fq-0006Fe-KH; Wed, 07 Jul 2021 14:10:22 +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 1m18Fn-0006D8-2d for kernel-team@lists.ubuntu.com; Wed, 07 Jul 2021 14:10:19 +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 1m18Fm-0000tg-QG for kernel-team@lists.ubuntu.com; Wed, 07 Jul 2021 14:10:18 +0000 Received: by mail-pf1-f199.google.com with SMTP id w2-20020aa785820000b029032396e2bf68so756121pfn.17 for ; Wed, 07 Jul 2021 07:10:18 -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=J3GutdfZkzjHmXSspRwr0cvlTKvUjfDIIbDjXQGV1hs=; b=Q1q0rRIhuDwA48hXna0HnMcbEdsu2q8CQGYVJX3zbUQlLPFJPqFVGfxiUtWqHisHCJ JtIIPCXdRTSTG5ESP3BXkh/vMIaRc5J5sjYpv+beX2U1XZ+exnhG/e5VrODmvZweouDm 8xQcO/CfwUTc8aYoTLlzzSCuRyNhNHYC94nrQS+W3NBSRGZncKC+3zD2L0YwaPuwqPoO ATkdJIY4NZZJF4tR/qBfFIDunP++NN0EU+A38gh6+dBs5QQZpUEGVXyRvlODnTcx/B0H f8m2cOhHPX5AeKZaHZOGTGGakhaK+TYd/qMLKdBKQOWXGobjKwF8ow+YII/2fV4jwyvB pd6w== X-Gm-Message-State: AOAM531IiLWyWkBkYQVWUQoWloJ3xShQkyJ4k5szwMQyebh6iQMuoUAl Tp69jJ5/0ImnqSa6zpL5+ePfkzkWQr20vdHmyHn/MZfm6adxRIIpWuc49my4kK6uS0TIgnwf545 gsKeqL4UIPMCblhvd9okfUS4XyeIXN1DOEmleBdX+hw== X-Received: by 2002:a65:6a05:: with SMTP id m5mr26090852pgu.319.1625667017620; Wed, 07 Jul 2021 07:10:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwep9GF4HaVwwL0VjVMrzTWksPmrGAwSmH10Zp2imnLoZ9xK132hO4PiU4lmjOtL4YB3uPVCg== X-Received: by 2002:a65:6a05:: with SMTP id m5mr26090826pgu.319.1625667017323; Wed, 07 Jul 2021 07:10:17 -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.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Jul 2021 07:10:16 -0700 (PDT) From: Andy Chi To: kernel-team@lists.ubuntu.com Subject: [SRU] [OEM-5.13] [PATCH 1/3] ALSA: hda/realtek: fix mute/micmute LEDs for HP ProBook 450 G8 Date: Wed, 7 Jul 2021 22:10:01 +0800 Message-Id: <20210707141010.536437-4-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 (cherry picked 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 ab5113cccffa..9c3bb1a2b849 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -8336,6 +8336,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),