From patchwork Sat Dec 9 14:47:07 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hartmut Knaack X-Patchwork-Id: 13486045 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 5E9ABC4167B for ; Sat, 9 Dec 2023 14:48:02 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 80470820; Sat, 9 Dec 2023 15:47:49 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 80470820 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1702133279; bh=2PgZSFy0XUjNwcWsfPAjscNmrXoAPS4a1iiCHMMo5X4=; h=To:Cc:From:Subject:Date:List-Id:List-Archive:List-Help:List-Owner: List-Post:List-Subscribe:List-Unsubscribe:From; b=bUrXwFpPgUX7MJfyDwglvZo00d0cc1DxXguPttMRRZiNBWM60scbseytqYDhaVaPQ HwqG5oedDV8cnvEtEQG5gQUk44vNWziEP3nWb2dKdM2xmqfluqqOUQPvZ+KNuNKHDY XGfBpumPaIrYpaJCRXGdsRh3cvkhLc37eY69bgAU= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 27E8AF8025F; Sat, 9 Dec 2023 15:47:28 +0100 (CET) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id 63457F80494; Sat, 9 Dec 2023 15:47:27 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 168D5F8024E; Sat, 9 Dec 2023 15:47:18 +0100 (CET) Received: from mout.gmx.net (mout.gmx.net [212.227.15.19]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id AC665F800E4 for ; Sat, 9 Dec 2023 15:47:08 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz AC665F800E4 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=gmx.de header.i=knaack.h@gmx.de header.a=rsa-sha256 header.s=s31663417 header.b=afX6mZ/7 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.de; s=s31663417; t=1702133227; x=1702738027; i=knaack.h@gmx.de; bh=2PgZSFy0XUjNwcWsfPAjscNmrXoAPS4a1iiCHMMo5X4=; h=X-UI-Sender-Class:To:Cc:From:Subject:Date; b=afX6mZ/7VcPHZUM2upM9ibP4yXKICwwnOIuqQbmDREPq4JwP8x2bDS+azHpxjobZ clkL/oSuRatu46HdQMVQQKuE3XH4gH3pFd4Hv1oOU9H0cw0tcQ7qK/mBKBntkuufI LqsejGJUB92PXNRcWridPHkkkB4IWZZ/bEuYESO8539X8O+41KpwAbZVJ1q/3ZfzY UGugbw9OqqHfgwoDU59xh0Lyecpo37BzwKIZHPKn5DrwOLCXGy58cRQfvnxfMaupm M2FS7HF0L01CxkE9SJJWH3kKYRAS7vwHh1yAwfx4zJ1oNrsIibGLRD58L7y7w4+0U ZFC0APZe+/fMo6otQA== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from base.mbs ([91.55.163.97]) by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MGQjH-1r05R82vtN-00Grt5; Sat, 09 Dec 2023 15:47:07 +0100 To: alsa-devel@alsa-project.org Cc: Takashi Iwai , Luka Guzenko From: Hartmut Knaack Subject: [PATCH] ALSA: hda/realtek: Apply mute LED quirk for HP15-db Openpgp: preference=signencrypt Autocrypt: addr=knaack.h@gmx.de; prefer-encrypt=mutual; keydata= mQINBGCunykBEADebuuMARwASsPJ3HiQC4r8n+wgCr5+txuAgk3j4E0EIUunXUu/IwUTVLVw +rpKpC/r2tBtot6HZ4JhCJqdG7tB1hcTFjGk8kzV97Dp5WxoqzOUvY2nOvhDaUII8Msl/vTf CXSVzdHG8x7sjR2+HptBoL7ZqfJejNUJtc8CfyIeY24wioIwwzdbEkghz25TFRQzpHc/y1l9 wOPen4uyjnS3CK7F89a3Yr2Wny1pyaViZ39zkMUEq5CKzVW0BRdmb11SvullMkJAJOLqxuA1 opoyuoW+khqNU43eNCMRL70BOi2QeUJMv44C/Kt1yOuXfB1oxKV+OyKvgZwm2QrY/KuYjHFs 0tgU/d35KtkBdkbdZRmWLAhMNFwOUu7/FBsRM8btDd50AS7+idV4ozs+mFAx7HyG/vjQzxUa ixF0J4CLlUJfkFKrWjRLkoAYO0lSQGemZJ8Fa2F6Eru3tSf1e/Wqjf9ia8EH5s1TaYugGKET IsdQILza8avOX9Mib3uvVHjQVweLjR3QFoOQLHtuAngJqwCakkcMouowZRGkr/zlo+wslACq h7FcOFBaP2sxYbTBlOi7qzuJvy4iTRjY1RrvB25YVE/4qghFzLwv5TJYUds1pQ/yCkv1MKSz VQp6XLOcGqAupv+43Mna8jobFk4PC5vNHZrAzWgXOudZLD4vdwARAQABtCBIYXJ0bXV0IEtu YWFjayA8a25hYWNrLmhAZ214LmRlPokCVAQTAQgAPhYhBMJitsPHdMAC5/1SAPRms7sUr1FQ BQJgrp8pAhsjBQkJZgGABQsJCAcCBhUKCQgLAgQWAgMBAh4BAheAAAoJEPRms7sUr1FQOVEQ ALNDjF745wW4fJzAAauQgTP818EtgxKSsnOPjK9YFuzKitwGYeorbY9tdvuFhBa2pzR6uASv ny/7CYa/CQf5R1ZdAB9/kJ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kDv830mY1EGtQPgNNQddwCyvYtbeUuAAPo4fV6cOR6D5RXXZ8F9wgCby32fX aU9N7J85q2FFdbfPM+P2uEd5brze0BRsu4t9QDz5Zj574vwOlTNgkizZmCqwJxYVuq5oFmRG DfhZ2sjwLhanyW6LRedLofLUb7AMoNZGBkLQDqKhIGMuOdajKOq3SVaC7bIjlLCVQcaX4hjJ Pf0lp9UHohf41wARAQABiQI8BBgBCAAmFiEEwmK2w8d0wALn/VIA9GazuxSvUVAFAmCunykC GwwFCQlmAYAACgkQ9GazuxSvUVAu7Q/8DrV4xxXx+CRcQbnGXMHp/gYwhMf9LUbfwYX1lIkr fHBslANGQyh+mPQVze6Y0XPa0E7BVWOGIyNbiRSaS/yTGQY/TBwT0RnAU/pN7ldAOHJd5Dax xd3boxe6R3ug5npLCYc94/tbrfj+YieuSooHqmJx9rMWI1U9CJGhPafqyDL+z0HL5F1SCSno YorbzxFgiQF1Do9q94C3OxgQKq6chs+dg+yCGSGAMDDLhHdXE2tVGij+kn98bpbioODAAWBH R5auIwN/7LK4SF59p84nZOfnxHJiPnzeb7hNhNP5ToJ1coX5KaT+ZPC5EibOo4IRhUwoNRLJ syt6GFP1SMelxbqHERECtKNA9cxCrYP771FE1YvH21Zf0SLwnpDdxlIIZdCcUykrl6nXZyP5 sBSYmvxsTcjLQQNVVHm3/nOS7DKMFoLVRoiKEJaFlsgofpAzldU4z0IFrL4RqeorlQkBDPiX t6mDzfpu6rgjyAOCj5527yAYiTAbqt3RTM5e4Z3FqrocjxAQLYqEuJGdJhmuEJpK3H3gPMIm QAPEAwKaU+mwVMMUqj3tGu//F3HiLBGnsV4PuYQIALvu7dOsUreSvq4sKvArQ55wmd4OuIaZ H4eHk9+2MT8unT79cF/6z9Zwd96YCVs7Eod7LGcbxjwVm240fpxeFuqlh38sz2QvW30= Message-ID: Date: Sat, 9 Dec 2023 15:47:07 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0 Se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7cM881ts6A08fA+pCTlTNu4OpgOcwW7ZR762wDFCL3JMaPslzi WiOzeEjubCGFuEaf/5Rhl9/9ze+bttTISidrLlUJcnYwGIHz0zlgSPEo+Zn3B3xvE3FMbJV0p VAF7q9J+11S0hfAjAVyKzU139zZprKLzGYmbypF5vVqfVJ0qCYeCsyQ2f6yefdwFqB97OoqV0 h9UJQiaNbCwrtvJ+t8PqG92gSOE= Message-ID-Hash: SLAQRZR4EP2SKE2G6HAQMECAZ345XG4M X-Message-ID-Hash: SLAQRZR4EP2SKE2G6HAQMECAZ345XG4M X-MailFrom: knaack.h@gmx.de X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.9 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: The HP laptop 15-db0403ng uses the ALC236 codec and controls the mute LED using COEF 0x07 index 1. Sound card subsystem: Hewlett-Packard Company Device [103c:84ae] Use the existing quirk for this model. Signed-off-by: Hartmut Knaack --- sound/pci/hda/patch_realtek.c | 1 + 1 file changed, 1 insertion(+) -- 2.42.0 diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index 0377912e9264..e45d4c405f8f 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -9795,6 +9795,7 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = { SND_PCI_QUIRK(0x103c, 0x83b9, "HP Spectre x360", ALC269_FIXUP_HP_MUTE_LED_MIC3), SND_PCI_QUIRK(0x103c, 0x841c, "HP Pavilion 15-CK0xx", ALC269_FIXUP_HP_MUTE_LED_MIC3), SND_PCI_QUIRK(0x103c, 0x8497, "HP Envy x360", ALC269_FIXUP_HP_MUTE_LED_MIC3), + SND_PCI_QUIRK(0x103c, 0x84ae, "HP 15-db0403ng", ALC236_FIXUP_HP_MUTE_LED_COEFBIT2), SND_PCI_QUIRK(0x103c, 0x84da, "HP OMEN dc0019-ur", ALC295_FIXUP_HP_OMEN), SND_PCI_QUIRK(0x103c, 0x84e7, "HP Pavilion 15", ALC269_FIXUP_HP_MUTE_LED_MIC3), SND_PCI_QUIRK(0x103c, 0x8519, "HP Spectre x360 15-df0xxx", ALC285_FIXUP_HP_SPECTRE_X360),