2024-03-01 16:03:11

by Stefan Binding

[permalink] [raw]
Subject: [PATCH v1 0/3] ALSA: hda: cs35l41: Add support for a couple of Lenovo and Asus Laptops

Add support for a couple of Lenovo Thinkbook 16P laptops using CS35L41
HDA. Also fix a _DSD BIOS error for the ASUS UM5302LA laptop.

Stefan Binding (3):
ALSA: hda: cs35l41: Support Lenovo Thinkbook 16P
ALSA: hda/realtek: Add quirks for Lenovo Thinkbook 16P laptops
ALSA: hda: cs35l41: Overwrite CS35L41 configuration for ASUS UM5302LA

sound/pci/hda/cs35l41_hda_property.c | 6 ++++++
sound/pci/hda/patch_realtek.c | 2 ++
2 files changed, 8 insertions(+)

--
2.34.1



2024-03-01 16:03:59

by Stefan Binding

[permalink] [raw]
Subject: [PATCH v1 3/3] ALSA: hda: cs35l41: Overwrite CS35L41 configuration for ASUS UM5302LA

Whilst this laptop contains _DSD inside the BIOS, there is an error in
this configuration. Override the _DSD in the BIOS with the correct
configuration for this laptop.

Signed-off-by: Stefan Binding <[email protected]>
---
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 38a19752cb6c..72ec872afb8d 100644
--- a/sound/pci/hda/cs35l41_hda_property.c
+++ b/sound/pci/hda/cs35l41_hda_property.c
@@ -94,6 +94,7 @@ static const struct cs35l41_config cs35l41_config_table[] = {
{ "104317F3", 2, INTERNAL, { CS35L41_LEFT, CS35L41_RIGHT, 0, 0 }, 0, 1, -1, 1000, 4500, 24 },
{ "10431863", 2, INTERNAL, { CS35L41_LEFT, CS35L41_RIGHT, 0, 0 }, 1, 2, 0, 1000, 4500, 24 },
{ "104318D3", 2, EXTERNAL, { CS35L41_LEFT, CS35L41_RIGHT, 0, 0 }, 0, 1, -1, 0, 0, 0 },
+ { "10431A83", 2, INTERNAL, { CS35L41_LEFT, CS35L41_RIGHT, 0, 0 }, 0, 1, -1, 1000, 4500, 24 },
{ "10431C9F", 2, INTERNAL, { CS35L41_LEFT, CS35L41_RIGHT, 0, 0 }, 1, 2, 0, 1000, 4500, 24 },
{ "10431CAF", 2, INTERNAL, { CS35L41_LEFT, CS35L41_RIGHT, 0, 0 }, 1, 2, 0, 1000, 4500, 24 },
{ "10431CCF", 2, INTERNAL, { CS35L41_LEFT, CS35L41_RIGHT, 0, 0 }, 1, 2, 0, 1000, 4500, 24 },
@@ -481,6 +482,7 @@ static const struct cs35l41_prop_model cs35l41_prop_model_table[] = {
{ "CSC3551", "104317F3", generic_dsd_config },
{ "CSC3551", "10431863", generic_dsd_config },
{ "CSC3551", "104318D3", generic_dsd_config },
+ { "CSC3551", "10431A83", generic_dsd_config },
{ "CSC3551", "10431C9F", generic_dsd_config },
{ "CSC3551", "10431CAF", generic_dsd_config },
{ "CSC3551", "10431CCF", generic_dsd_config },
--
2.34.1


2024-03-04 08:14:17

by Takashi Iwai

[permalink] [raw]
Subject: Re: [PATCH v1 0/3] ALSA: hda: cs35l41: Add support for a couple of Lenovo and Asus Laptops

On Fri, 01 Mar 2024 17:01:51 +0100,
Stefan Binding wrote:
>
> Add support for a couple of Lenovo Thinkbook 16P laptops using CS35L41
> HDA. Also fix a _DSD BIOS error for the ASUS UM5302LA laptop.
>
> Stefan Binding (3):
> ALSA: hda: cs35l41: Support Lenovo Thinkbook 16P
> ALSA: hda/realtek: Add quirks for Lenovo Thinkbook 16P laptops
> ALSA: hda: cs35l41: Overwrite CS35L41 configuration for ASUS UM5302LA

Thanks, applied now.


Takashi