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: 13555836 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=free.fr header.i=@free.fr header.b="UkTsKg3M" 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-sound@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 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 }, From patchwork Tue Feb 13 23:42:12 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Jean-Lo=C3=AFc_Charroud?= X-Patchwork-Id: 13555848 Received: from smtpfb1-g21.free.fr (smtpfb1-g21.free.fr [212.27.42.9]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 426556312D; Tue, 13 Feb 2024 23:51:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=212.27.42.9 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707868273; cv=none; b=I/qiLdxlgbbUu3z+wKXREyqpkWFOk0ooUQoGPkKZRZqW+GiKtm5hq0kQNBwLMAzxR3BMBoNDUmZWNjZIijoLg87AlZsmdpayfks32R+D4mEq8B+kEI/wBwaa6+qHs1v5VQ1dPSzwMR2QgET/j7G05JC9jIRl1aNI8ZmZRHc2OuI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707868273; c=relaxed/simple; bh=cLpnxpYC4wwNyrZga77ocn0n0Iy1TqrtB5RbWeVXp4I=; h=Date:From:To:Cc:Message-ID:In-Reply-To:References:Subject: MIME-Version:Content-Type; b=jXERRWL56w7RYQscXgaLnIKMg6RCYCRs2l3h8mSZCcBLHtoMIEGsP7oroWpfxouDlrBCi09+hB07Wnzsck55SRyb/7i0SfW70xiCYefD4csaDiXk15Zy+2S86koWI43SuRv8p7eGNXhm+Lu5Dg5CzZU4MssLXWHi5s8ZffTxI0c= 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; arc=none smtp.client-ip=212.27.42.9 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 smtp2-g21.free.fr (smtp2-g21.free.fr [212.27.42.2]) by smtpfb1-g21.free.fr (Postfix) with ESMTP id 7C632DF87F0; Wed, 14 Feb 2024 00:42:20 +0100 (CET) Received: from zimbra-e1-03.priv.proxad.net (unknown [172.20.243.151]) by smtp2-g21.free.fr (Postfix) with ESMTP id DAC002003CA; Wed, 14 Feb 2024 00:42:12 +0100 (CET) Date: Wed, 14 Feb 2024 00:42:12 +0100 (CET) From: =?utf-8?q?Jean-Lo=C3=AFc?= Charroud To: Takashi Iwai , Jaroslav Kysela , Stefan Binding Cc: linux-sound , linux-kernel , patches Message-ID: <1656546983.650349575.1707867732866.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 2/3] ALSA: hda/realtek: cs35l41: Fix device ID / model name Precedence: bulk X-Mailing-List: linux-sound@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: Fix device ID / model name Thread-Index: b1DHXbQj7eN1w6/I0T0Clij1GRQ0gGm3MHNu The patch 51d976079976c800ef19ed1b542602fcf63f0edb ("ALSA: hda/realtek: Add quirks for ASUS Zenbook 2022 Models") modified the entry 1043:1e2e from "ASUS UM3402" to "ASUS UM6702RA/RC" and added another entry for "ASUS UM3402" with 104e:1ee2. The first entry was correct, while the new one corresponds to model "ASUS UM6702RA/RC" Fix the model names for both devices. Signed-off-by: Jean-Loïc Charroud --- sound/pci/hda/patch_realtek.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index 7aa88ed04bde..fe81a628d7c8 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -9939,11 +9939,11 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = { SND_PCI_QUIRK(0x1043, 0x16a3, "ASUS UX3402VA", ALC245_FIXUP_CS35L41_SPI_2), SND_PCI_QUIRK(0x1043, 0x1f62, "ASUS UX7602ZM", ALC245_FIXUP_CS35L41_SPI_2), SND_PCI_QUIRK(0x1043, 0x1e11, "ASUS Zephyrus G15", ALC289_FIXUP_ASUS_GA502), - SND_PCI_QUIRK(0x1043, 0x1e12, "ASUS UM6702RA/RC", ALC287_FIXUP_CS35L41_I2C_2), + SND_PCI_QUIRK(0x1043, 0x1e12, "ASUS UM3402", ALC287_FIXUP_CS35L41_I2C_2), SND_PCI_QUIRK(0x1043, 0x1e51, "ASUS Zephyrus M15", ALC294_FIXUP_ASUS_GU502_PINS), SND_PCI_QUIRK(0x1043, 0x1e5e, "ASUS ROG Strix G513", ALC294_FIXUP_ASUS_G513_PINS), SND_PCI_QUIRK(0x1043, 0x1e8e, "ASUS Zephyrus G15", ALC289_FIXUP_ASUS_GA401), - SND_PCI_QUIRK(0x1043, 0x1ee2, "ASUS UM3402", ALC287_FIXUP_CS35L41_I2C_2), + SND_PCI_QUIRK(0x1043, 0x1ee2, "ASUS UM6702RA/RC", ALC287_FIXUP_CS35L41_I2C_2), SND_PCI_QUIRK(0x1043, 0x1c52, "ASUS Zephyrus G15 2022", ALC289_FIXUP_ASUS_GA401), SND_PCI_QUIRK(0x1043, 0x1f11, "ASUS Zephyrus G14", ALC289_FIXUP_ASUS_GA401), SND_PCI_QUIRK(0x1043, 0x1f12, "ASUS UM5302", ALC287_FIXUP_CS35L41_I2C_2), From patchwork Tue Feb 13 23:44:24 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Jean-Lo=C3=AFc_Charroud?= X-Patchwork-Id: 13555844 Received: from smtp3-g21.free.fr (smtp3-g21.free.fr [212.27.42.3]) (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 D304963111; Tue, 13 Feb 2024 23:44:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=212.27.42.3 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707867874; cv=none; b=rSx0ggtYTSeO0hPTHXO8qMxa0Y9OdMoTuDTzNNS6Q8sRd7AQ86ujmtTYRv65XgSVUqLYj9BRbqzKsT8XNeF9GRbKCC+YsYsBQW4Lbn7I/lVqOZFE3VtrzsDJxoIK4jUpzmsHiePoYLZIK75L4+qKkuos8scWB0yY4Ma3G1Nmu2c= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707867874; c=relaxed/simple; bh=EREOCDuY/VaO1DK/rIWsaUxe3lA2A5pxjjlM1ctl9Uo=; h=Date:From:To:Cc:Message-ID:In-Reply-To:References:Subject: MIME-Version:Content-Type; b=q5A5o7K1KKJbVxgT8yjJR3rpqtatJV+XFoqK5OjxolmUKDNGria9eSDd2o+u06/6h0mzq3G325NrQbVDA8mrQ9piNWsEoizD1JUujPvUc1VFJMI4oyXwoT5dy3GVLHjSNnQYz8EWMwDXbQquj9yESV1PJT2MP1TjfT2+ZBYTIUw= 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; arc=none smtp.client-ip=212.27.42.3 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 smtp3-g21.free.fr (Postfix) with ESMTP id 1928313F86E; Wed, 14 Feb 2024 00:44:24 +0100 (CET) Date: Wed, 14 Feb 2024 00:44:24 +0100 (CET) From: =?utf-8?q?Jean-Lo=C3=AFc?= Charroud To: Takashi Iwai , Jaroslav Kysela , Stefan Binding Cc: linux-sound , linux-kernel , patches Message-ID: <1969151851.650354669.1707867864074.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 3/3] ALSA: hda/realtek: cs35l41: Fix order and duplicates in quirks table Precedence: bulk X-Mailing-List: linux-sound@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: Fix order and duplicates in quirks table Thread-Index: b1DHXbQj7eN1w6/I0T0Clij1GRQ0gPpZp6io Move entry {0x1043, 0x16a3, "ASUS UX3402VA"} following device ID order. Remove duplicate entry for device {0x1043, 0x1f62, "ASUS UX7602ZM"}. Signed-off-by: Jean-Loïc Charroud --- sound/pci/hda/patch_realtek.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index fe81a628d7c8..16cb19eee589 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -9893,6 +9893,7 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = { SND_PCI_QUIRK(0x1043, 0x1662, "ASUS GV301QH", ALC294_FIXUP_ASUS_DUAL_SPK), SND_PCI_QUIRK(0x1043, 0x1663, "ASUS GU603ZI/ZJ/ZQ/ZU/ZV", ALC285_FIXUP_ASUS_HEADSET_MIC), SND_PCI_QUIRK(0x1043, 0x1683, "ASUS UM3402YAR", ALC287_FIXUP_CS35L41_I2C_2), + SND_PCI_QUIRK(0x1043, 0x16a3, "ASUS UX3402VA", ALC245_FIXUP_CS35L41_SPI_2), SND_PCI_QUIRK(0x1043, 0x16b2, "ASUS GU603", ALC289_FIXUP_ASUS_GA401), SND_PCI_QUIRK(0x1043, 0x16d3, "ASUS UX5304VA", ALC245_FIXUP_CS35L41_SPI_2), SND_PCI_QUIRK(0x1043, 0x16e3, "ASUS UX50", ALC269_FIXUP_STEREO_DMIC), @@ -9936,8 +9937,6 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = { SND_PCI_QUIRK(0x1043, 0x1d4e, "ASUS TM420", ALC256_FIXUP_ASUS_HPE), SND_PCI_QUIRK(0x1043, 0x1da2, "ASUS UP6502ZA/ZD", ALC245_FIXUP_CS35L41_SPI_2), SND_PCI_QUIRK(0x1043, 0x1e02, "ASUS UX3402ZA", ALC245_FIXUP_CS35L41_SPI_2), - SND_PCI_QUIRK(0x1043, 0x16a3, "ASUS UX3402VA", ALC245_FIXUP_CS35L41_SPI_2), - SND_PCI_QUIRK(0x1043, 0x1f62, "ASUS UX7602ZM", ALC245_FIXUP_CS35L41_SPI_2), SND_PCI_QUIRK(0x1043, 0x1e11, "ASUS Zephyrus G15", ALC289_FIXUP_ASUS_GA502), SND_PCI_QUIRK(0x1043, 0x1e12, "ASUS UM3402", ALC287_FIXUP_CS35L41_I2C_2), SND_PCI_QUIRK(0x1043, 0x1e51, "ASUS Zephyrus M15", ALC294_FIXUP_ASUS_GU502_PINS),