From patchwork Wed Jul 7 14:10:05 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andy Chi X-Patchwork-Id: 1501770 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 4GKhCb41J7z9tk0; Thu, 8 Jul 2021 00:10:35 +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 1m18Fx-0006L6-Ad; Wed, 07 Jul 2021 14:10:29 +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 1m18Ft-0006HD-Jx for kernel-team@lists.ubuntu.com; Wed, 07 Jul 2021 14:10:25 +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 1m18Fr-0000wh-P9 for kernel-team@lists.ubuntu.com; Wed, 07 Jul 2021 14:10:23 +0000 Received: by mail-pj1-f71.google.com with SMTP id x2-20020a17090ab002b029016e8b858193so1782806pjq.3 for ; Wed, 07 Jul 2021 07:10:23 -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=qT5G5dA5Vhvk1bbeBVDMDV+XdkTPlrK/WzZ9xK7FdfM=; b=EljaOZQlNrgIbqTPcOXwo4/KLpdSXjOrASD5DLbOE+psXkhcsbf8j/RpLnHM+PSB9R 700yeMpnbagLSHtgHAonCUaxxQyb2QEIPUKKDvfTWaVVpOM8RgdY6/8A2FT2WVUrmkdE Ty+RjUHwXdVJWFWluQNFvY+6h2lr6GLhaMDaRPvC+e6DRUkUG/jjE3IHoNZ3J+yU4SdP reA4PqNxKui7s+k/LzMoVm6ggj+FThQ9XBtDTTXQjK8HUqcBCBQqJUNKfxF858wi2NkL VWEifvchgXYk3aB30N0HCFIgtzdm/+hIKqQjk7Jzq0VGBQsMzMQ0RR4TMo+noB7WcGGs TtgA== X-Gm-Message-State: AOAM530cL3SfhjzYWBwZgiz4uRiN52089Z6UCXl8u+EuaVNtmGl2C5C6 1812QpmEwdAXgWfvlXhgikwh/Q2YIkFl3MkAUVS4iprKFzOyJ/prn+cHBd4BLPM/DENuGNqKHn3 LzKMI30BSOamRGuNRYfN3rL5J2GDFRZugG1H4bJAQww== X-Received: by 2002:a17:902:db0d:b029:127:98e9:c279 with SMTP id m13-20020a170902db0db029012798e9c279mr21476511plx.0.1625667022547; Wed, 07 Jul 2021 07:10:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxWHXQSgTdakdBQwzHJ1763Wm8IGZh9O3io73I4svPtDulHqV4SgfzSrv0+i5zVuKciZYNFCw== X-Received: by 2002:a17:902:db0d:b029:127:98e9:c279 with SMTP id m13-20020a170902db0db029012798e9c279mr21476498plx.0.1625667022346; Wed, 07 Jul 2021 07:10:22 -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.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Jul 2021 07:10:22 -0700 (PDT) From: Andy Chi To: kernel-team@lists.ubuntu.com Subject: [SRU] [OEM-5.13] [PATCH 2/3] ALSA: hda/realtek: fix mute/micmute LEDs for HP ProBook 445 G8 Date: Wed, 7 Jul 2021 22:10:05 +0800 Message-Id: <20210707141010.536437-8-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 445 G8 using ALC236 codec. COEF index 0x34 bit 5 is used to control the playback mute LED, but the microphone mute LED is controlled using pin VREF instead of a COEF index. Therefore, add a quirk to make it works. Signed-off-by: Andy Chi Cc: Link: https://lore.kernel.org/r/20210701091417.9696-2-andy.chi@canonical.com Signed-off-by: Takashi Iwai (cherry picked from commit a3b7f9b8fa2967e1b3c2a402301715124c90306b) Signed-off-by: Andy Chi --- sound/pci/hda/patch_realtek.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index 9c3bb1a2b849..25a32b718fbc 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -8344,6 +8344,8 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = { SND_PCI_QUIRK(0x103c, 0x8846, "HP EliteBook 850 G8 Notebook PC", ALC285_FIXUP_HP_GPIO_LED), SND_PCI_QUIRK(0x103c, 0x884b, "HP EliteBook 840 Aero G8 Notebook PC", ALC285_FIXUP_HP_GPIO_LED), SND_PCI_QUIRK(0x103c, 0x884c, "HP EliteBook 840 G8 Notebook PC", ALC285_FIXUP_HP_GPIO_LED), + SND_PCI_QUIRK(0x103c, 0x8862, "HP ProBook 445 G8 Notebook PC", ALC236_FIXUP_HP_MUTE_LED_MICMUTE_VREF), + SND_PCI_QUIRK(0x103c, 0x8863, "HP ProBook 445 G8 Notebook PC", ALC236_FIXUP_HP_MUTE_LED_MICMUTE_VREF), SND_PCI_QUIRK(0x103c, 0x886d, "HP ZBook Fury 17.3 Inch G8 Mobile Workstation PC", ALC285_FIXUP_HP_GPIO_AMP_INIT), SND_PCI_QUIRK(0x103c, 0x8870, "HP ZBook Fury 15.6 Inch G8 Mobile Workstation PC", ALC285_FIXUP_HP_GPIO_AMP_INIT), SND_PCI_QUIRK(0x103c, 0x8873, "HP ZBook Studio 15.6 Inch G8 Mobile Workstation PC", ALC285_FIXUP_HP_GPIO_AMP_INIT),