From patchwork Tue Feb 13 23:38:31 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: lagiraudiere@free.fr X-Patchwork-Id: 200737 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:bc8a:b0:106:860b:bbdd with SMTP id dn10csp872934dyb; Tue, 13 Feb 2024 15:39:06 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVwdd5OOVaU8FsRnxv3H5aeGdLSbTzWDZO+HDa67bPyoUYgxGFc4qE7Isw49y9i02vpVEXyt/CMRKCKcX/pM01VFolKXQ== X-Google-Smtp-Source: AGHT+IF11UXcz86NoocSj6sbW/RlUmjRCHm5rdPEOnsPBGzhZ1/Q2BLEI91YKrzTjtLFXKkNo2Kq X-Received: by 2002:a05:6359:4c1a:b0:179:fcb5:6ab3 with SMTP id kj26-20020a0563594c1a00b00179fcb56ab3mr787363rwc.19.1707867546192; Tue, 13 Feb 2024 15:39:06 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707867546; cv=pass; d=google.com; s=arc-20160816; b=viekabHB8xFDHLCGBd9xWeeX3lQ7SfdcpckzhJSwFiXspIH9zrFVnPLqgWLy0CZYH8 JKdDZUzPF5CHl1hKiPQFCmtiF00Q0AEjDlTTN93FW9UeCxSz79twJqTkbwXwvauPRd9l 8HRfhdOkmtGPRcxQtqghjK7zcXawj2+EBFGHkBNS+EF6qN+CHeccDwhHTSih5IiYxWEQ IBwB6lNmj2sc/zhTWBVAZUQXCVRJHbv3HvdahAJvUQDxFiY97EZ6gIadLuA2ngFKqgnH zK1rZfU6+NnclrKpaItuMlvy1aB0a08/EQvWpD/KC/5rEo1EhLWONV+yCuDy/xapbbUr 3LsQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=thread-index:thread-topic:content-transfer-encoding:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:subject :references:in-reply-to:message-id:cc:to:from:date:dkim-signature; bh=YQ1R5ZVaXDLGFd215ozQjhvZOtzMKOQ1hIF/Ckw706s=; fh=bj97mM1YQjVlh3Pw/l0KkLF05VQktvTO92Bcb6Xyak0=; b=Wg1cEBcb1ysTC7JB/Cz8gzgvT1Vb1AH/hUqQBSewGZiWz+7NqruxIlxAZ9Fh1iwapk u+vGIZCBl6IbL170cNnwmAEgZGDRsRe63QqZjOcCIMHhTXug1Gc3xoeKoZOIp0BsY3aE cwC5aKWyaTL8BMWf/pjcMWHHyV0JK5W8opQa5OZ/5LVOhZ+aQtqpKTM3Iz1hw848xF1a jqu8BUkhTTfr6tqUa1fc9h7IY4gT/jUM0gYC62fpGijjnW5Ld5rYE1fshYRBylhBuUGJ DHqqvFcrDx6j20Kp4IIuMZ9dmHCxXsNphJe28exXaMVWQbrInyDT+ShLG6LX4Z17hQb5 f+9g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@free.fr header.s=smtp-20201208 header.b=UkTsKg3M; arc=pass (i=1 spf=pass spfdomain=free.fr dkim=pass dkdomain=free.fr dmarc=pass fromdomain=free.fr); spf=pass (google.com: domain of linux-kernel+bounces-64552-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-64552-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=free.fr X-Forwarded-Encrypted: i=2; AJvYcCXVTH4Ga9Tf1DpnHtJv35mWMbG/0ChB85YbKmQWIgzgrMYeAuHcEpbSzjoOM15honHhn1RsHFHgdHe5pplurkBHQ3xw/Q== Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id i68-20020a639d47000000b005dbdc98c15csi2779342pgd.709.2024.02.13.15.39.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Feb 2024 15:39:06 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-64552-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@free.fr header.s=smtp-20201208 header.b=UkTsKg3M; arc=pass (i=1 spf=pass spfdomain=free.fr dkim=pass dkdomain=free.fr dmarc=pass fromdomain=free.fr); spf=pass (google.com: domain of linux-kernel+bounces-64552-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-64552-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=free.fr Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id D679828AAF3 for ; Tue, 13 Feb 2024 23:39:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9DB56633F4; Tue, 13 Feb 2024 23:38:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=free.fr header.i=@free.fr header.b="UkTsKg3M" Received: from smtp4-g21.free.fr (smtp4-g21.free.fr [212.27.42.4]) (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 6AE8C63115; Tue, 13 Feb 2024 23:38:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=212.27.42.4 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707867521; cv=none; b=i8WJ+OulbfMKr+cIo2aYy3U2tpagvBa9Vhy+AzyIUA0uupGPtAXBWCWdUlLJ8XPuSWEr+Zf1WZK99GmBOv+qfdWL0hOxnEpyQhP87/026NKRpZoQd1lRGgVrpvoiVHIFMikbsrVwO84gArYknQARbjFouMc+0TaZg1oL038lVYE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707867521; c=relaxed/simple; bh=YQ1R5ZVaXDLGFd215ozQjhvZOtzMKOQ1hIF/Ckw706s=; h=Date:From:To:Cc:Message-ID:In-Reply-To:References:Subject: MIME-Version:Content-Type; b=MzA7xUe4xZY5Lpt0aOxjVWC1LzzX7TNp2AA6R43Ih6u8pERkut5T+EJ18NiV7++Y6cMkNaW07RYX8XbtQeCogqBsF/4QAXttpWNXT7xeiLnokh6ruvmkeUWRAat3eKcVOo9+dR4j+Psqhhyfug4K2ct3Y3T8ijsFKUzG1NsZ/ng= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=free.fr; spf=pass smtp.mailfrom=free.fr; dkim=pass (2048-bit key) header.d=free.fr header.i=@free.fr header.b=UkTsKg3M; arc=none smtp.client-ip=212.27.42.4 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=free.fr Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=free.fr Received: from zimbra-e1-03.priv.proxad.net (unknown [172.20.243.151]) by smtp4-g21.free.fr (Postfix) with ESMTP id 1710B19F553; Wed, 14 Feb 2024 00:38:31 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=free.fr; s=smtp-20201208; t=1707867511; bh=YQ1R5ZVaXDLGFd215ozQjhvZOtzMKOQ1hIF/Ckw706s=; h=Date:From:To:Cc:In-Reply-To:References:Subject:From; b=UkTsKg3M6ufBbKw1N1HspN3w2fQ+vfQ+y+warM3QptlIZgAlHjHTWgkHq0jNs2Fyn 70KsL0ElkRHYAD+4A9pJoc8locIokRJ4Cc0fjrju/SCOfDTcQ1F8r/Ql7TQZO39yDd qq86VESTgqLvItkKfztDCLdmfonXMgvcdn91h/HmBX4SKOfd66VQCDFrMkPQKBI/7t oDKVGV2IrIyu3UBOA6E3s3MQYYXO3sCZOInFU07YC9ysNYtDRf9uHWANUDZVCptQsv vf7gwfC66WSzls0KUvpNSvykd2HMxx3vwa6GsbzNMmh4r12S7I91JkBB4PVa2G7U3n 8ARUy/LK+SKNg== Date: Wed, 14 Feb 2024 00:38:31 +0100 (CET) From: lagiraudiere@free.fr To: =?utf-8?q?Jean-Lo=C3=AFc?= Charroud Cc: Takashi Iwai , Jaroslav Kysela , Stefan Binding , linux-sound , linux-kernel , patches Message-ID: <1435594585.650325975.1707867511062.JavaMail.zimbra@free.fr> In-Reply-To: <644212740.650323792.1707867443153.JavaMail.zimbra@free.fr> References: <644212740.650323792.1707867443153.JavaMail.zimbra@free.fr> Subject: [PATCH v3 1/3] ALSA: hda/realtek: cs35l41: Add internal speaker support for ASUS UM3402 with missing DSD Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Mailer: Zimbra 9.0.0_GA_1337 (ZimbraWebClient - FF122 (Linux)/9.0.0_GA_1337) Thread-Topic: ALSA: hda/realtek: cs35l41: Add internal speaker support for ASUS UM3402 with missing DSD Thread-Index: b1DHXbQj7eN1w6/I0T0Clij1GRQ0gBIG7hii X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790828920151230362 X-GMAIL-MSGID: 1790828920151230362 Add the values for the missing DSD properties to the cs35l41 config table. Signed-off-by: Jean-Loïc Charroud --- sound/pci/hda/cs35l41_hda_property.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sound/pci/hda/cs35l41_hda_property.c b/sound/pci/hda/cs35l41_hda_property.c index 923c0813fa08..d8cd62ef6afc 100644 --- a/sound/pci/hda/cs35l41_hda_property.c +++ b/sound/pci/hda/cs35l41_hda_property.c @@ -102,6 +102,7 @@ static const struct cs35l41_config cs35l41_config_table[] = { { "10431D1F", 2, INTERNAL, { CS35L41_LEFT, CS35L41_RIGHT, 0, 0 }, 0, 1, -1, 1000, 4500, 24 }, { "10431DA2", 2, EXTERNAL, { CS35L41_LEFT, CS35L41_RIGHT, 0, 0 }, 1, 2, 0, 0, 0, 0 }, { "10431E02", 2, EXTERNAL, { CS35L41_LEFT, CS35L41_RIGHT, 0, 0 }, 1, 2, 0, 0, 0, 0 }, + { "10431E12", 2, EXTERNAL, { CS35L41_LEFT, CS35L41_RIGHT, 0, 0 }, 0, 1, -1, 0, 0, 0 }, { "10431EE2", 2, EXTERNAL, { CS35L41_LEFT, CS35L41_RIGHT, 0, 0 }, 0, -1, -1, 0, 0, 0 }, { "10431F12", 2, INTERNAL, { CS35L41_LEFT, CS35L41_RIGHT, 0, 0 }, 0, 1, -1, 1000, 4500, 24 }, { "10431F1F", 2, EXTERNAL, { CS35L41_LEFT, CS35L41_RIGHT, 0, 0 }, 1, -1, 0, 0, 0, 0 }, @@ -485,6 +486,7 @@ static const struct cs35l41_prop_model cs35l41_prop_model_table[] = { { "CSC3551", "10431D1F", generic_dsd_config }, { "CSC3551", "10431DA2", generic_dsd_config }, { "CSC3551", "10431E02", generic_dsd_config }, + { "CSC3551", "10431E12", generic_dsd_config }, { "CSC3551", "10431EE2", generic_dsd_config }, { "CSC3551", "10431F12", generic_dsd_config }, { "CSC3551", "10431F1F", generic_dsd_config },