From patchwork Wed Jan 18 11:54:45 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jeremy Szu X-Patchwork-Id: 13106233 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 CAA17C32793 for ; Wed, 18 Jan 2023 11:56:28 +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 5F0045665; Wed, 18 Jan 2023 12:55:36 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 5F0045665 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1674042986; bh=2EoQ4sYRKuLFUTIdVq0f7lGecx0rZctv0Rdkqo5IXds=; h=From:To:Subject:Date:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:Cc:From; b=jlhiSJMvcp4IoWVHO8RDyMSVvTs3fhJEXaaWVlPAeFvUsNtRhQS7wU4ACzcmd3DPO NkcWofFXOswK2RAHUY3W/m+/FW48YN1+ORag1PAaUIszGiqDwhlFSQBTYi50lzzDBR LmcaONzWz++EWlkMCWjpe4NeU+XbE/O291WNxN+0= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 0C05AF8024D; Wed, 18 Jan 2023 12:55:36 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id A95CAF8026D; Wed, 18 Jan 2023 12:55:34 +0100 (CET) Received: from smtp-relay-canonical-1.canonical.com (smtp-relay-canonical-1.canonical.com [185.125.188.121]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 150ACF8024C for ; Wed, 18 Jan 2023 12:55:32 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 150ACF8024C Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=canonical.com header.i=@canonical.com header.a=rsa-sha256 header.s=20210705 header.b=VNmU38aP Received: from localhost (unknown [10.101.194.46]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-canonical-1.canonical.com (Postfix) with ESMTPSA id F2FBB4380E; Wed, 18 Jan 2023 11:55:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1674042931; bh=enMrnZ1NgbyIaq3oUPzczhRNRwFvL8TyynmSSMWT7Bc=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=VNmU38aP619JjJyJWfip2fvASugjCQgI7qHXaZpwHeOdeTA1qvx854HHdstgkMfqt hzpCNmENZ8ScmSUXg/mlOYH2obotHrSDaKsnhmKAf3DarG39q4NKHibnVg7WubgTuR Syf4fPuIFX6FJ/DvaHgiEKlsO/coQpuU2wjKXzQquNK15bUoFTbZJwKcPbNa/H/Lo6 6uJafDtii7yiyKB253Jif6iQTFY2ZND7ELKFzZX0+t9Vmc6yys3YMTmbte1QieXTno wVZ4YxiQUAUog6R5TEMkzvQVD3vUrINT7mXraHjZl1ZB6CZMofjsjqaxiFpjO5tQ/m V41o3uYo16aCw== From: Jeremy Szu To: tiwai@suse.com Subject: [PATCH] ALSA: hda/realtek: fix mute/micmute LEDs, speaker don't work for a HP platform Date: Wed, 18 Jan 2023 19:54:45 +0800 Message-Id: <20230118115446.14902-1-jeremy.szu@canonical.com> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.29 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: , Cc: Stefan Binding , Lucas Tanure , Jeremy Szu , Tim Crawford , Philipp Jungkamp , Gabriele Mazzotta , "moderated list:SOUND" , Kai-Heng Feng , Meng Tang , Yuchi Yang , =?utf-8?q?Kacper_Michaj=C5=82ow?= , open list Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" There is a HP platform needs ALC245_FIXUP_CS35L41_SPI_2_HP_GPIO_LED quirk to make mic-mute/audio-mute/speaker working. 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 6fab7c8fc19a..02905336781a 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -9432,6 +9432,7 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = { SND_PCI_QUIRK(0x103c, 0x8ad2, "HP EliteBook 860 16 inch G9 Notebook PC", ALC245_FIXUP_CS35L41_SPI_2_HP_GPIO_LED), SND_PCI_QUIRK(0x103c, 0x8b5d, "HP", ALC236_FIXUP_HP_MUTE_LED_MICMUTE_VREF), SND_PCI_QUIRK(0x103c, 0x8b5e, "HP", ALC236_FIXUP_HP_MUTE_LED_MICMUTE_VREF), + SND_PCI_QUIRK(0x103c, 0x8b92, "HP", ALC245_FIXUP_CS35L41_SPI_2_HP_GPIO_LED), SND_PCI_QUIRK(0x103c, 0x8bf0, "HP", ALC236_FIXUP_HP_GPIO_LED), SND_PCI_QUIRK(0x1043, 0x103e, "ASUS X540SA", ALC256_FIXUP_ASUS_MIC), SND_PCI_QUIRK(0x1043, 0x103f, "ASUS TX300", ALC282_FIXUP_ASUS_TX300),