From patchwork Tue Aug 10 10:08:45 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jeremy Szu X-Patchwork-Id: 12428643 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=-16.8 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_GIT 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 5FF2CC4338F for ; Tue, 10 Aug 2021 10:10:34 +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 BBE3C600CD for ; Tue, 10 Aug 2021 10:10:32 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org BBE3C600CD 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-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 D183F84B; Tue, 10 Aug 2021 12:09:39 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz D183F84B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1628590229; bh=A5RR6n4qzpDaX02rSSFOp10AqresmSu2moz6dSS7PgE=; h=From:To:Subject:Date:Cc:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=p9qr9PeCHuj4vO1Antd46YeGn3AssQ/R9GAuJcvDP3+UhQ4uJDWs2aJ2e8H2xHhcz DKEctWCH0ZfdKswrB4j3vbhiCYyKzPvvB27PxyrjSOFqOCmOWbOZxY9+na4x1vroBj lAC+vCYGgxdRTrXf4ZWugI9NLYkCd6gcKOvk97Fo= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 71595F80245; Tue, 10 Aug 2021 12:09:39 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 050ABF80245; Tue, 10 Aug 2021 12:09:38 +0200 (CEST) Received: from smtp-relay-canonical-1.canonical.com (smtp-relay-canonical-1.canonical.com [185.125.188.121]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id C2072F8016B for ; Tue, 10 Aug 2021 12:09:28 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz C2072F8016B Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=canonical.com header.i=@canonical.com header.b="ruG57TO9" Received: from localhost.localdomain (61-220-137-37.HINET-IP.hinet.net [61.220.137.37]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-canonical-1.canonical.com (Postfix) with ESMTPSA id 831763F107; Tue, 10 Aug 2021 10:09:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1628590165; bh=x/Db548JcNjl7vdwhUu8F9KYkZB9HM7NmO3UOKZN8AY=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=ruG57TO9RatLz8T7uzz1DsNt2wybJDlCcLk5KYb7ypRiDn1Bd7dagg0GIUEGQPupL stPbMtKYuWoSknUevNiXrXiUaYQBZW9Gs6Jiwn9XZfyZvCCasFm1S/Z2/O1jnAltvr Eph2aWGxeIlYghNVXnQ/gHl21wJk11Xl7FRxjX3uR6U28IIwbRd9L3C07otGMQu8rb svlg0NbYqkqPsttqxUCYV3+tMz3cUZpm/IuVIVvxFd1oaLAcZWOTgZDwcJaabvpCau R4PMOCqGVBzN+uy5QED3XJEVC4x6aFf5eQXAULKmWgWB1dPhwOiCmt/dvKWc3VuYlC Dm7I9Hm421yMg== From: Jeremy Szu To: tiwai@suse.com Subject: [PATCH] ALSA: hda/realtek: fix mute/micmute LEDs for HP ProBook 650 G8 Notebook PC Date: Tue, 10 Aug 2021 18:08:45 +0800 Message-Id: <20210810100846.65844-1-jeremy.szu@canonical.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Cc: Chris Chiu , "moderated list:SOUND" , Kailang Yang , Jeremy Szu , open list , Luke D Jones , Jian-Hong Pan , Werner Sembach , Hui Wang , PeiSen Hou , Sami Loone 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" The HP ProBook 650 G8 Notebook PC is using ALC236 codec which is using 0x02 to control mute LED and 0x01 to control micmute LED. Therefore, add a quirk to make it works. Signed-off-by: Jeremy Szu --- 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 4043a2362f27..a065260d0d20 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -8431,6 +8431,7 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = { SND_PCI_QUIRK(0x103c, 0x87f4, "HP", ALC287_FIXUP_HP_GPIO_LED), SND_PCI_QUIRK(0x103c, 0x87f5, "HP", ALC287_FIXUP_HP_GPIO_LED), SND_PCI_QUIRK(0x103c, 0x87f7, "HP Spectre x360 14", ALC245_FIXUP_HP_X360_AMP), + SND_PCI_QUIRK(0x103c, 0x8805, "HP ProBook 650 G8 Notebook PC", ALC236_FIXUP_HP_GPIO_LED), SND_PCI_QUIRK(0x103c, 0x880d, "HP EliteBook 830 G8 Notebook PC", ALC285_FIXUP_HP_GPIO_LED), SND_PCI_QUIRK(0x103c, 0x8846, "HP EliteBook 850 G8 Notebook PC", ALC285_FIXUP_HP_GPIO_LED), SND_PCI_QUIRK(0x103c, 0x8847, "HP EliteBook x360 830 G8 Notebook PC", ALC285_FIXUP_HP_GPIO_LED),