From patchwork Tue Mar 7 16:37:41 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Hamidreza H. Fard" X-Patchwork-Id: 13164697 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 DC3BDC6FA99 for ; Tue, 7 Mar 2023 20:45:23 +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 0EDE5159A; Tue, 7 Mar 2023 21:44:31 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 0EDE5159A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1678221921; bh=NuO8UAZcKVDSwoFoeZu9FBy6Ay4iiw09tdqRjBF8Ies=; h=From:To:Subject:Date:CC:List-Id:List-Archive:List-Help:List-Owner: List-Post:List-Subscribe:List-Unsubscribe:From; b=TaDr87458BzWii0LBFq+THCPB0/79qYrKORc+ifC6XH9mUWMGm3XMqEMz274S6WsJ oFMT49piJHzclRw6xA1jPNa/HSujAfQJFrDm47wn313iQmj/Xk9kKUhEuLEOTvZqgJ zNhACqN8dG6IEuUK/jvwP+wwGYo0+dB7BobltTUQ= Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id AB1DEF8042F; Tue, 7 Mar 2023 21:44:08 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 3F813F8042F; Tue, 7 Mar 2023 17:40:37 +0100 (CET) Received: from mout01.posteo.de (mout01.posteo.de [185.67.36.65]) (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 C30BBF800DF for ; Tue, 7 Mar 2023 17:40:29 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz C30BBF800DF Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key, unprotected) header.d=posteo.net header.i=@posteo.net header.a=rsa-sha256 header.s=2017 header.b=D26WLG0/ Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 266D5240540 for ; Tue, 7 Mar 2023 17:40:29 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1678207229; bh=NuO8UAZcKVDSwoFoeZu9FBy6Ay4iiw09tdqRjBF8Ies=; h=From:To:Cc:Subject:Date:From; b=D26WLG0/L6TQuTI+MRYCsOI6ePQjCzQ3YOKIaJKeNyT1+ls/gowd/1N2v8uu1W0Ch wW9JSzkZ9lDYn37n3ecJIa9UpjuD8cTmV5QNRl6ksWCji0Ggd8sXu+0Z98FjpfEnO/ KL3PTnT2/INqeEwHmbyC2oTOxUAWkB3VsVUCqZYfOFUPEFTkdMz6FHpwsaocOOHN0W K+FDCNih5W+1TKVygc0Jv9FoCu5TzeadVJhu+QTDSV3GSq2TImf9escB8WEPMqWoRL ozMtjvHUao+0WC0KIM9+AsGFjPV91BoeLDrG2W+QD8SVgQlzsUWfVB3UWJWvuLl/W7 HhwuOLLnOng7Q== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4PWLlv686Dz9rxD; Tue, 7 Mar 2023 17:40:27 +0100 (CET) From: "Hamidreza H. Fard" To: tiwai@suse.com Subject: [PATCH] ALSA: hda/realtek: Fix the speaker output on Samsung Galaxy Book2 Pro Date: Tue, 7 Mar 2023 16:37:41 +0000 Message-Id: <20230307163741.3878-1-nitocris@posteo.net> MIME-Version: 1.0 X-MailFrom: nitocris@posteo.net X-Mailman-Rule-Hits: nonmember-moderation 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 Message-ID-Hash: O42VMA663KW44TELGOMSNZA7NJUC25KB X-Message-ID-Hash: O42VMA663KW44TELGOMSNZA7NJUC25KB X-Mailman-Approved-At: Tue, 07 Mar 2023 20:44:06 +0000 CC: alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, "Hamidreza H. Fard" X-Mailman-Version: 3.3.8 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: Samsung Galaxy Book2 Pro (13" 2022 NP930XED-KA1DE) with codec SSID 144d:c868 requires the same workaround for enabling the speaker amp like other Samsung models with ALC298 code. Signed-off-by: Hamidreza H. Fard --- sound/pci/hda/patch_realtek.c | 1 + 1 file changed, 1 insertion(+) base-commit: a1eeed68b1f1d23ed05f66f43058988ba734ba8f diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index 3c629f4ae080..ef78553fe6f0 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -9539,6 +9539,7 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = { SND_PCI_QUIRK(0x144d, 0xc830, "Samsung Galaxy Book Ion (NT950XCJ-X716A)", ALC298_FIXUP_SAMSUNG_AMP), SND_PCI_QUIRK(0x144d, 0xc832, "Samsung Galaxy Book Flex Alpha (NP730QCJ)", ALC256_FIXUP_SAMSUNG_HEADPHONE_VERY_QUIET), SND_PCI_QUIRK(0x144d, 0xca03, "Samsung Galaxy Book2 Pro 360 (NP930QED)", ALC298_FIXUP_SAMSUNG_AMP), + SND_PCI_QUIRK(0x144d, 0xc868, "Samsung Galaxy Book2 Pro (NP930XED)", ALC298_FIXUP_SAMSUNG_AMP), SND_PCI_QUIRK(0x1458, 0xfa53, "Gigabyte BXBT-2807", ALC283_FIXUP_HEADSET_MIC), SND_PCI_QUIRK(0x1462, 0xb120, "MSI Cubi MS-B120", ALC283_FIXUP_HEADSET_MIC), SND_PCI_QUIRK(0x1462, 0xb171, "Cubi N 8GL (MS-B171)", ALC283_FIXUP_HEADSET_MIC),