From patchwork Sat Dec 2 01:37:44 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Pascal_No=C3=ABl?= X-Patchwork-Id: 13477824 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 8A78EC4167B for ; Mon, 4 Dec 2023 07:40:43 +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 C4DECBC0; Mon, 4 Dec 2023 08:40:31 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz C4DECBC0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1701675641; bh=UsPI8cJOwLhuVwmeo6wuXRWzRcBEhHjbgG8LyN1/awg=; h=From:To:Cc:Subject:Date:List-Id:List-Archive:List-Help:List-Owner: List-Post:List-Subscribe:List-Unsubscribe:From; b=Cw9/dn1zdAMGdbEQeqBy+zk+JI0LzbTo+7sCBbROw5VcvS9UsJWPMKe6P2WzTuHor CCt4Ja2ofGY2OxLI/91r9uL5ekXWeMP2ywAgicdpmbeW3pi2kDBKODLjPtlM9S836Y akxWzr2Ovchu17qxMbuA5Nt8i+iFgVNRVc80hhVY= Received: by alsa1.perex.cz (Postfix, from userid 50401) id DD0BEF805FC; Mon, 4 Dec 2023 08:39:42 +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 6D3F3F805E8; Mon, 4 Dec 2023 08:39:42 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 3FF49F8016E; Sat, 2 Dec 2023 02:39:16 +0100 (CET) Received: from sender4-of-o53.zoho.com (sender4-of-o53.zoho.com [136.143.188.53]) (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 9E1DCF800AC for ; Sat, 2 Dec 2023 02:39:02 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 9E1DCF800AC ARC-Seal: i=1; a=rsa-sha256; t=1701481116; cv=none; d=zohomail.com; s=zohoarc; b=YcBAYq3xYJX8OxFwFbP8yxR5AdT4MoK6Q1gYtJ49FZtzq5NCKV5hVJSh+ZPmt3YHJlApsxpHBjNPMFIVLDc87apbfF5t+Ur7Xaj9xXnRZtv7L79d8sMTP7bUAjbxzc6iUgagMwjy8koqgY4xC31YZYADpjWI+9SiJ8ueG9bhD48= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1701481116; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:MIME-Version:Message-ID:Subject:Subject:To:To:Message-Id:Reply-To; bh=NG3fV4+q2+cTJrIUSZH6I9+RUkj3JuMjAS6T7Sh8Krc=; b=P+48ZMGkORilTtr0rY+ma+EuqL7L7ChAHXmHMvAvmEPKnP7XjEuUGwoSbXruxJ++BppQGqHRjvVAKJYoFPaWE2RnInOLC6vG6p+i4Z1gOcmQYInP1VnzqLr/clQIS5EfuqPoRkKURVhKwIEMJIbZqb04k6yaTptvHDeSKDIFDH0= ARC-Authentication-Results: i=1; mx.zohomail.com; spf=pass smtp.mailfrom=pascal@pascalcompiles.com; dmarc=pass header.from= Received: from rebelrebel.vs.shawcable.net (S01068c763f5f99ac.vs.shawcable.net [96.55.45.185]) by mx.zohomail.com with SMTPS id 17014811156103.491290640252373; Fri, 1 Dec 2023 17:38:35 -0800 (PST) From: =?utf-8?q?Pascal_No=C3=ABl?= To: perex@perex.cz, tiwai@suse.com Cc: kailang@realtek.com, sbinding@opensource.cirrus.com, luke@ljones.dev, andy.chi@canonical.com, shenghao-ding@ti.com, l.guzenko@web.de, ruinairas1992@gmail.com, yangyuchi66@gmail.com, vitalyr@opensource.cirrus.com, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, pascal@pascalcompiles.com Subject: [PATCH] ALSA: hda/realtek: Apply quirk for ASUS UM3504DA Date: Fri, 1 Dec 2023 17:37:44 -0800 Message-ID: <20231202013744.12369-1-pascal@pascalcompiles.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 X-ZohoMailClient: External X-MailFrom: pascal@pascalcompiles.com 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: GTFM2EY5NQJ6NTIKU77CWDUAFV4JPTIX X-Message-ID-Hash: GTFM2EY5NQJ6NTIKU77CWDUAFV4JPTIX X-Mailman-Approved-At: Mon, 04 Dec 2023 07:36:08 +0000 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 ASUS UM3504DA uses a Realtek HDA codec and two CS35L41 amplifiers via I2C. Apply existing quirk to model. Signed-off-by: Pascal Noël --- 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 f9ddacfd9..ddd74f5d3 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -9963,6 +9963,7 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = { SND_PCI_QUIRK(0x1043, 0x17f3, "ROG Ally RC71L_RC71L", ALC294_FIXUP_ASUS_ALLY), SND_PCI_QUIRK(0x1043, 0x1881, "ASUS Zephyrus S/M", ALC294_FIXUP_ASUS_GX502_PINS), SND_PCI_QUIRK(0x1043, 0x18b1, "Asus MJ401TA", ALC256_FIXUP_ASUS_HEADSET_MIC), + SND_PCI_QUIRK(0x1043, 0x18d3, "ASUS UM3504DA", ALC294_FIXUP_CS35L41_I2C_2), SND_PCI_QUIRK(0x1043, 0x18f1, "Asus FX505DT", ALC256_FIXUP_ASUS_HEADSET_MIC), SND_PCI_QUIRK(0x1043, 0x194e, "ASUS UX563FD", ALC294_FIXUP_ASUS_HPE), SND_PCI_QUIRK(0x1043, 0x1970, "ASUS UX550VE", ALC289_FIXUP_ASUS_GA401),