From patchwork Mon Dec 2 03:28:33 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sahas Leelodharry X-Patchwork-Id: 13889955 Received: from YQZPR01CU011.outbound.protection.outlook.com (mail-canadaeastazon11020078.outbound.protection.outlook.com [52.101.191.78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9FF5E1E105B for ; Mon, 2 Dec 2024 03:28:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=52.101.191.78 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733110118; cv=fail; b=EmyXyk9r+PCOxaEMGvW4RhDxCqKLGydttWzhgSeVhKvp82N407i1Nph7l9JU/S2bf/OoTCcnT9TAVZ2CcvvHe2LJ9JmizlBVt9skaJ65i6uInMbIWP19HwYD+Arb2ZzqwO/nwzV9kaLhRdsvFcG85xhyPVqCB7K0h9U+AMqY4jk= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733110118; c=relaxed/simple; bh=M2cpxsEyyI0YekzBJS+cOjexDDmx2nNNQwDNMs3Kpss=; h=From:To:Subject:Date:Message-ID:Content-Type:MIME-Version; b=EHICvtO2bEH9ka0sThLTYox13n3ZcHzMel6tAB/O25KfFeSkzYoZ/hN1kSzqCyTT3/hm5YxmWKO3ktFk9i5zzIEvAIESVMyYIy4sXlHnOeIC9+Mf/k0pHA6/Zlr/JqsvCGLXowVq5GW6xdfnbeeNGoeR7ClsnCjFXw+4ianUe5Y= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=mail.mcgill.ca; spf=pass smtp.mailfrom=mail.mcgill.ca; dkim=pass (1024-bit key) header.d=mail.mcgill.ca header.i=@mail.mcgill.ca header.b=NNAM8tKD; arc=fail smtp.client-ip=52.101.191.78 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=mail.mcgill.ca Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=mail.mcgill.ca Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=mail.mcgill.ca header.i=@mail.mcgill.ca header.b="NNAM8tKD" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=yzc4scQOnIOeoBBb97FuE+urpHUDuqwfRE9xFFFIUY8M7vqYikN/s6bASE8fikdRHJhguVXgypNkngj78cN6vrRuAgS332bNNTvw1mP5O3cFsoAD/ImAj2GgH+h8FwtLiYofNmQgKlfOeNbl/vDz/cgtok8RR6EF+gqMatvGsq6YnsgJ9mKjCv2u5JrXtcfAhj2EEpm3G75zmIh4brOZWNSY259Af7M1XMb66KWfS4Mq6W5dmS7DzTT+c3dicJodKNpHcsxtukCODOAKDm8FMiYOVVpQKpWEx0ijMvMwJTq0UJS8lz+8RySsOQ8X5OgLahRBI8Z4jjPOYL8bbLksow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=ggfQ6/zfhIiB2hRZiB6TqAv4vVtkDYPlTVlJ+6oP4hA=; b=ph4bSkV0LZ7z8WhmemtOHJJ2lidHmZr5gdhHiO8QFaK21CeBsir4zI30k6ALTNctaa9n+PeXDHJPRHF916S4IEObOJ9NalRpMXuA3Hi3cOUC9JEDxfP0fSt27SLks4bweRNtjuj0M//zSRsMp6nUIBmlDf7BoYkAO7q9Q79zF9sPUbRH3mFbiTDsWbuc2PHNyOcQKsQ+lXivjR7lTI94Eg8K5YI0/YOu1dZ8ECBpQVlp5hdkJv6WIENzRyHCY3kTLgf+QbNR/JeN29FLcdI30LPpuLPlfPmURvawP7Dl1FPM7mme3b8MlLJXO1W3oiuLkl8y8OwI894yNptoMP8Yng== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=mail.mcgill.ca; dmarc=pass action=none header.from=mail.mcgill.ca; dkim=pass header.d=mail.mcgill.ca; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mail.mcgill.ca; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ggfQ6/zfhIiB2hRZiB6TqAv4vVtkDYPlTVlJ+6oP4hA=; b=NNAM8tKDpWxRd8xOeeGe7dDouvbQUavw6edSvanjLLo5cJRzs4e7EhkO0swUwd54qXUeYlWftpCl89V9cZMfqHxn0RQ90kbxmJrxwLskA9vs68lQH075YdakLih0lzlUf44UPdl4oQS0/dELq8kEJwxXQ4yckMkyIkdlL0WHTNQ= Received: from QB1PR01MB4004.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:c00:37::24) by YT4PR01MB9749.CANPRD01.PROD.OUTLOOK.COM (2603:10b6:b01:e9::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8207.18; Mon, 2 Dec 2024 03:28:33 +0000 Received: from QB1PR01MB4004.CANPRD01.PROD.OUTLOOK.COM ([fe80::d002:d5b4:84b2:998b]) by QB1PR01MB4004.CANPRD01.PROD.OUTLOOK.COM ([fe80::d002:d5b4:84b2:998b%4]) with mapi id 15.20.8207.017; Mon, 2 Dec 2024 03:28:33 +0000 From: Sahas Leelodharry To: "tiwai@suse.com" , "perex@perex.cz" , "linux-sound@vger.kernel.org" Subject: [PATCH] ALSA: hda/realtek: Add support for Samsung Galaxy Book3 360 (NP730QFG) Thread-Topic: [PATCH] ALSA: hda/realtek: Add support for Samsung Galaxy Book3 360 (NP730QFG) Thread-Index: AQHbRF3JWki/sO2KQ0Ca0S9qjhdDWg== Date: Mon, 2 Dec 2024 03:28:33 +0000 Message-ID: Accept-Language: fr-FR, en-US Content-Language: fr-FR X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=mail.mcgill.ca; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: QB1PR01MB4004:EE_|YT4PR01MB9749:EE_ x-ms-office365-filtering-correlation-id: 234673f0-0f38-4230-e8f1-08dd1281664e x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0;ARA:13230040|1800799024|366016|376014|38070700018; x-microsoft-antispam-message-info: =?iso-8859-1?q?Sshg5VgVxdhSZld4Cj5lOu6zJZ?= =?iso-8859-1?q?zvnijL0soV2e81ZvfXcs+ts0oGa99SDcT6Sqo8YQuKd3X1qgccO/AbrrGGd6?= =?iso-8859-1?q?2d+iCnvrXr0Wj7xiw/8RHUwsTICckbTpKeQjTp+gZb1FlotOWH1lnEtHyH5A?= =?iso-8859-1?q?QrZ7r/Bb3/g9PftpwRQswRUX1F+nQ+bpY3LyJe74RMeAMc1YfPLtrQY9v+D9?= =?iso-8859-1?q?oL+hwg4zvZBD4UBExrfA6Ixh4ucwuNo3HjydGyOQck6MlcDciE/cBFV7u0ni?= =?iso-8859-1?q?AueCHjYLVDjDZUCHBbPt1yoSBq31OFxTN+iYCtbl8IKqPJ3gxPWEswsYtHbo?= =?iso-8859-1?q?c4d9narn3071eHhBJGEvpCf7GlGZn8RFksCXf1xrRoGiGuyppcrE/bOfCidF?= =?iso-8859-1?q?XWlowGpw1n1TB9ilTxs0zFx8wFNl2VBJ6Pe0PzNFflbY1IneFMzyWP7vq1Hj?= =?iso-8859-1?q?9GacSkmkZTt/uL34QoasW6gz4393UtIiFLhytb5Jym9r6LN2quXVzym2KK7f?= =?iso-8859-1?q?cbFu6yF3dxt1JTCkWNkbSpcfbPCKSLBWEL4aJjLm99CToK18myvyEKWrSBlQ?= =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knfo1mJCWBFew=3D=3D?= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:QB1PR01MB4004.CANPRD01.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFS:(13230040)(1800799024)(366016)(376014)(38070700018);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-8859-1?q?5i80a9KAAKbkzT+VCy16yry?= =?iso-8859-1?q?cyNaInToJydbMmW9sc51OAnTwyLatqTtqhbLWU2VXYzKUJraCSpuIQWyJkyJ?= =?iso-8859-1?q?tR9W6v/FFlMtZTgiqQsPsqimZzx5E6HW8UOi5P48s46bK5XE3GOJdD6zFx3H?= =?iso-8859-1?q?q0obqjxcM3BMdZHkP5n+GThRDMTAmPWNGv0Q0U/7n5QLXOpISrGCynplrWty?= =?iso-8859-1?q?M+e6Lr3ns92qmp3PlMKHmlvDfW/72CyetWXVahB5FHWOFpo9mUXdD8+UmC8f?= =?iso-8859-1?q?OQi5mzds6HKGwzPZZzvjdD2ctKwXI2Mc7kqDNtWm2HtLsgBKth4Cd4MRMaQb?= =?iso-8859-1?q?rqsj/bH4YIfTXX69zCxNew0doswV6ZSWxG1IDdcvgIGR9swqO5SJVeknCPyv?= =?iso-8859-1?q?mtVj7MVEWK0tGZ1UtyBbfFSgaR6x8SxmSdFwe6G4cRlBblF7C2DaVxxwJFsM?= =?iso-8859-1?q?WwAPST7hn82cm5U/JsPrt+I5tIIrhPhz4UmfoqlfbAdhSlrfnJXP4io1azCY?= =?iso-8859-1?q?3gcLH4yZhXxYMBiMRTiG5Tsn0qer+5jselNsDDeh8ww2NCGn5t5h74jPbv3p?= =?iso-8859-1?q?ICh57wIeXmoMvJcoTkVFgayK6yf9B9XfnoGjJzLTOSZ324eogc5n0W6+fJjZ?= =?iso-8859-1?q?3v02cVVa7wcl1dEIYvpODBRXgectMZRQB7eyz29VDLmHM4vl6ekQ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i+HJVJmhdjkP7fRQzLCvrKvD1tqVF6UvtdqIJJhjorkqkH89R0BtY7z?= =?iso-8859-1?q?bsAzshVnmtIPb40SY+1Qr5k/IrXJ7yLc9jvirJQ=3D=3D?= Precedence: bulk X-Mailing-List: linux-sound@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-OriginatorOrg: mail.mcgill.ca X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: QB1PR01MB4004.CANPRD01.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-Network-Message-Id: 234673f0-0f38-4230-e8f1-08dd1281664e X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Dec 2024 03:28:33.2578 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: cd319671-52e7-4a68-afa9-fcf8f89f09ea X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: Xe4RalPx4w8MB4fhb0eD4UQJlrX6qIx7UIK9pipeoKqgaqy2xjBHRJHPNbE96UQ1hgzfW5vZCik1R4beC8uPSzggr+lxCFwfkFzYxEm2pptTb3D9xuKZW1oZCBJZM27R X-MS-Exchange-Transport-CrossTenantHeadersStamped: YT4PR01MB9749 Fixes the 3.5mm headphone jack on the Samsung Galaxy Book 3 360 NP730QFG laptop. Unlike the other Galaxy Book3 series devices, this device only needs the ALC298_FIXUP_SAMSUNG_HEADPHONE_VERY_QUIET quirk. Verified changes on the device and compared with codec state in Windows. Signed-off-by: Sahas Leelodharry --- sound/pci/hda/patch_realtek.c | 1 + 1 file changed, 1 insertion(+) -- 2.47.1 diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index 2bf5c512ebaf..b56cb6b24a4b 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -10679,6 +10679,7 @@ static const struct hda_quirk alc269_fixup_tbl[] = { SND_PCI_QUIRK(0x144d, 0xc868, "Samsung Galaxy Book2 Pro (NP930XED)", ALC298_FIXUP_SAMSUNG_AMP), SND_PCI_QUIRK(0x144d, 0xc870, "Samsung Galaxy Book2 Pro (NP950XED)", ALC298_FIXUP_SAMSUNG_AMP_V2_2_AMPS), SND_PCI_QUIRK(0x144d, 0xc872, "Samsung Galaxy Book2 Pro (NP950XEE)", ALC298_FIXUP_SAMSUNG_AMP_V2_2_AMPS), + SND_PCI_QUIRK(0x144d, 0xca06, "Samsung Galaxy Book3 360 (NP730QFG)", ALC298_FIXUP_SAMSUNG_HEADPHONE_VERY_QUIET), SND_PCI_QUIRK(0x144d, 0xc886, "Samsung Galaxy Book3 Pro (NP964XFG)", ALC298_FIXUP_SAMSUNG_AMP_V2_4_AMPS), SND_PCI_QUIRK(0x144d, 0xc1ca, "Samsung Galaxy Book3 Pro 360 (NP960QFG)", ALC298_FIXUP_SAMSUNG_AMP_V2_4_AMPS), SND_PCI_QUIRK(0x144d, 0xc1cc, "Samsung Galaxy Book3 Ultra (NT960XFH)", ALC298_FIXUP_SAMSUNG_AMP_V2_4_AMPS),