From: Takashi Iwai <tiwai@suse.de>
To: Christian@bendiksen.me
Cc: james.schulman@cirrus.com, david.rhodes@cirrus.com,
rf@opensource.cirrus.com, perex@perex.cz, tiwai@suse.com,
sbinding@opensource.cirrus.com, kailang@realtek.com,
luke@ljones.dev, shenghao-ding@ti.com, foss@athaariq.my.id,
alsa-devel@alsa-project.org, linux-sound@vger.kernel.org,
linux-kernel@vger.kernel.org,
Christian Bendiksen <christian@bendiksen.me>
Subject: Re: [PATCH] Add sound quirks for Lenovo Legion slim 7 16ARHA7 models.
Date: Sat, 30 Mar 2024 09:35:57 +0100 [thread overview]
Message-ID: <87r0fsnmky.wl-tiwai@suse.de> (raw)
In-Reply-To: <20240329185406.9802-1-christian@bendiksen.me>
On Fri, 29 Mar 2024 19:54:14 +0100,
Christian@bendiksen.me wrote:
>
> From: Christian Bendiksen <christian@bendiksen.me>
>
> This fixes the sound not working from internal speakers on
> Lenovo Legion Slim 7 16ARHA7 models. The correct subsystem ID
> have been added to cs35l41_hda_property.c and patch_realtek.c.
>
> Signed-off-by: Christian Bendiksen <christian@bendiksen.me>
The entries are sorted in SSID order. Could you put them at the right
positions?
thanks,
Takashi
> ---
> sound/pci/hda/cs35l41_hda_property.c | 4 ++++
> sound/pci/hda/patch_realtek.c | 2 ++
> 2 files changed, 6 insertions(+)
>
> diff --git a/sound/pci/hda/cs35l41_hda_property.c b/sound/pci/hda/cs35l41_hda_property.c
> index 72ec872afb8d..959864994eca 100644
> --- a/sound/pci/hda/cs35l41_hda_property.c
> +++ b/sound/pci/hda/cs35l41_hda_property.c
> @@ -115,6 +115,8 @@ static const struct cs35l41_config cs35l41_config_table[] = {
> { "17AA38B5", 2, EXTERNAL, { CS35L41_LEFT, CS35L41_RIGHT, 0, 0 }, 0, 1, -1, 0, 0, 0 },
> { "17AA38B6", 2, EXTERNAL, { CS35L41_LEFT, CS35L41_RIGHT, 0, 0 }, 0, 1, -1, 0, 0, 0 },
> { "17AA38B7", 2, EXTERNAL, { CS35L41_LEFT, CS35L41_RIGHT, 0, 0 }, 0, 1, -1, 0, 0, 0 },
> + { "17AA3877", 2, EXTERNAL, { CS35L41_LEFT, CS35L41_RIGHT, 0, 0 }, 0, 1, -1, 0, 0, 0 },
> + { "17AA3878", 2, EXTERNAL, { CS35L41_LEFT, CS35L41_RIGHT, 0, 0 }, 0, 1, -1, 0, 0, 0 },
> {}
> };
>
> @@ -503,6 +505,8 @@ static const struct cs35l41_prop_model cs35l41_prop_model_table[] = {
> { "CSC3551", "17AA38B5", generic_dsd_config },
> { "CSC3551", "17AA38B6", generic_dsd_config },
> { "CSC3551", "17AA38B7", generic_dsd_config },
> + { "CSC3551", "17AA3877", generic_dsd_config },
> + { "CSC3551", "17AA3878", generic_dsd_config },
> {}
> };
>
> diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
> index a17c36a36aa5..540868d6c602 100644
> --- a/sound/pci/hda/patch_realtek.c
> +++ b/sound/pci/hda/patch_realtek.c
> @@ -10347,6 +10347,8 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = {
> SND_PCI_QUIRK(0x17aa, 0x38b5, "Legion Slim 7 16IRH8", ALC287_FIXUP_CS35L41_I2C_2),
> SND_PCI_QUIRK(0x17aa, 0x38b6, "Legion Slim 7 16APH8", ALC287_FIXUP_CS35L41_I2C_2),
> SND_PCI_QUIRK(0x17aa, 0x38b7, "Legion Slim 7 16APH8", ALC287_FIXUP_CS35L41_I2C_2),
> + SND_PCI_QUIRK(0x17aa, 0x3877, "Legion Slim 7 16ARHA7", ALC287_FIXUP_CS35L41_I2C_2),
> + SND_PCI_QUIRK(0x17aa, 0x3878, "Legion Slim 7 16ARHA7", ALC287_FIXUP_CS35L41_I2C_2),
> SND_PCI_QUIRK(0x17aa, 0x38ba, "Yoga S780-14.5 Air AMD quad YC", ALC287_FIXUP_TAS2781_I2C),
> SND_PCI_QUIRK(0x17aa, 0x38bb, "Yoga S780-14.5 Air AMD quad AAC", ALC287_FIXUP_TAS2781_I2C),
> SND_PCI_QUIRK(0x17aa, 0x38be, "Yoga S980-14.5 proX YC Dual", ALC287_FIXUP_TAS2781_I2C),
> --
> 2.44.0
>
>
next prev parent reply other threads:[~2024-03-30 8:35 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-29 18:54 [PATCH] Add sound quirks for Lenovo Legion slim 7 16ARHA7 models Christian
2024-03-30 8:35 ` Takashi Iwai [this message]
2024-03-30 11:56 ` [PATCH v2] " Christian
2024-04-01 8:17 ` Takashi Iwai
2024-04-01 12:26 ` [PATCH v3] " Christian Bendiksen
2024-04-02 6:01 ` Takashi Iwai
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87r0fsnmky.wl-tiwai@suse.de \
--to=tiwai@suse.de \
--cc=Christian@bendiksen.me \
--cc=alsa-devel@alsa-project.org \
--cc=david.rhodes@cirrus.com \
--cc=foss@athaariq.my.id \
--cc=james.schulman@cirrus.com \
--cc=kailang@realtek.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-sound@vger.kernel.org \
--cc=luke@ljones.dev \
--cc=perex@perex.cz \
--cc=rf@opensource.cirrus.com \
--cc=sbinding@opensource.cirrus.com \
--cc=shenghao-ding@ti.com \
--cc=tiwai@suse.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox