From patchwork Fri Jun 18 09:28:31 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Andy Chi X-Patchwork-Id: 12330755 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.2 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 481ADC48BDF for ; Fri, 18 Jun 2021 09:30:09 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 6C650613DB for ; Fri, 18 Jun 2021 09:30:08 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 6C650613DB Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=canonical.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-devel-bounces@alsa-project.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 7CDAA170A; Fri, 18 Jun 2021 11:29:16 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 7CDAA170A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1624008606; bh=SiLoPAvM/Fye6ghUgbRStLteWtoKAR7gjbQpjwIhpKU=; h=Subject:From:To:References:Date:In-Reply-To:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=GbQYDGcDcWVl52KHEpmnZgzQyjI885si6FrQhFKL3dno0e/KQm4Nmbt2i3EnaGxpF st57eRfi1Cmv4A6ipe54QzSdfeVuLzj97ID56KTcfjkxYLleP2qZ1t5dt+DNtQ3z80 P/+Po6KQmB+YQi4mLu+XdkoDvZAG+r0jCDh3gRTw= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id D4CC3F802E8; Fri, 18 Jun 2021 11:29:15 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 096DDF8032D; Fri, 18 Jun 2021 11:28:48 +0200 (CEST) Received: from youngberry.canonical.com (youngberry.canonical.com [91.189.89.112]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 93B8CF80084 for ; Fri, 18 Jun 2021 11:28:35 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 93B8CF80084 Received: from mail-pj1-f72.google.com ([209.85.216.72]) by youngberry.canonical.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1luAni-00047e-Rq for alsa-devel@alsa-project.org; Fri, 18 Jun 2021 09:28:34 +0000 Received: by mail-pj1-f72.google.com with SMTP id on11-20020a17090b1d0bb029016bba777f5fso5760764pjb.7 for ; Fri, 18 Jun 2021 02:28:34 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:from:to:cc:references:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=2GptbyilHSJibKkapjpgEo+GB+erd/HF+VFbdT2MZPQ=; b=LbC/uv2bxittHkIBgjPTqU7zZQwqAxzzIsrY13H2nv1UBF2t8m3LP4EaK6qYUxNVy4 JPcTbkLme7cMuku0AuQmEb9aoHl5SKMfBS4we/ExE/1iBSWOqwGLEmtCyOoLMk1beJP2 wfRQ8/TYQvH+4rzQDLFOaknj6qR3dSKmckh1wQTV/fmwma1yHkXjFisVP4cJysge1h3x /p31z1h6E6xJ5XZVBFAq4GJoCj2+aLLNRBlnROXUPFLn/yLt6DnEdr7QkXbBfMAXxL1h HocN3RzIRijPVqmX6h5AQWoDQmgFZHimRJzTLJuAyj4r2zgY2VTdXzXLRtVwDdA5HFCa aD3g== X-Gm-Message-State: AOAM533T0atO6sa5AHGWmhpgsKdJw/WpN9LIjy8WZSIWMI701BTmkUBH sKudXLGKPz+BXD9WJNZ9LT5sLi917JPQ8R1cxbI4tMtO/m4j4XWVj7aiQAnDisRYoXNOuwGL02a QgjWNV41s0iA1grOYuQG5i+kL0uFLLtPZ5aU4VXH0 X-Received: by 2002:a65:67c8:: with SMTP id b8mr141809pgs.109.1624008513649; Fri, 18 Jun 2021 02:28:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyXnIVc7lGI0Dljcv1tKbxWJjIbevKkXW7lVWuJgHjr5aEGwcz2xPra6ux+5/PHdNe91AuNMw== X-Received: by 2002:a65:67c8:: with SMTP id b8mr141797pgs.109.1624008513503; Fri, 18 Jun 2021 02:28:33 -0700 (PDT) Received: from [192.168.0.101] (36-224-193-219.dynamic-ip.hinet.net. [36.224.193.219]) by smtp.gmail.com with ESMTPSA id y7sm1654573pja.8.2021.06.18.02.28.32 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 18 Jun 2021 02:28:32 -0700 (PDT) Subject: [PATCH 2/2] ALSA: hda/realtek: fix mute/micmute LEDs for HP ProBook 445 G8 From: Andy Chi To: alsa-devel@alsa-project.org References: <7797aabe-83c7-a63c-7749-73dea0e25f54@canonical.com> Message-ID: <5c5790ba-d21b-20ff-7ded-b92ca597f9a2@canonical.com> Date: Fri, 18 Jun 2021 17:28:31 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 MIME-Version: 1.0 In-Reply-To: <7797aabe-83c7-a63c-7749-73dea0e25f54@canonical.com> Content-Language: en-US Cc: tiwai@suse.de, linux-kernel@vger.kernel.org X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" From f6d2556f8f6bcdd2261b48604b8086fb67ae9a03 Mon Sep 17 00:00:00 2001 From: Andy Chi Date: Fri, 18 Jun 2021 16:23:06 +0800 Subject: [PATCH 2/2] ALSA: hda/realtek: fix mute/micmute LEDs for HP ProBook  445 G8 The HP ProBook 445 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 ---  sound/pci/hda/patch_realtek.c | 1 +  1 file changed, 1 insertion(+) +    SND_PCI_QUIRK(0x103c, 0x8863, "HP ProBook 445 G8 Notebook PC", ALC236_FIXUP_HP_GPIO_LED),      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), diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index 70bc5b11acfd..a1e62b2de167 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -8344,6 +8344,7 @@ 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),