mbox series

[v4,0/1] ALSA: hda/realtek: Fix internal speakers for Legion Y9000X 2022 IAH7

Message ID TYCP286MB2535E8C7B2F9E7EDD75C4382C41C2@TYCP286MB2535.JPNP286.PROD.OUTLOOK.COM (mailing list archive)
Headers show
Series ALSA: hda/realtek: Fix internal speakers for Legion Y9000X 2022 IAH7 | expand

Message

ArcticLampyrid May 6, 2024, 8:09 a.m. UTC
This fixes the sound not working from internal speakers on
Lenovo Legion Y9000X 2022 IAH7 models.

Closes: https://bugzilla.kernel.org/show_bug.cgi?id=218744

This patch depends on [PATCH v1 1/2] ALSA: hda: cs35l41: Ignore errors when configuring IRQs (by Stefan Binding)
See also <https://lore.kernel.org/lkml/20240429154853.9393-2-sbinding@opensource.cirrus.com/>

Change from v3 <https://lore.kernel.org/lkml/TYCP286MB25357A4599E935F26A8AAB24C40E2@TYCP286MB2535.JPNP286.PROD.OUTLOOK.COM/T/>:
- Remove the patch for cs35l41 to obey the trigger type from DSDT, for it is rarely used, and
  the existing samples (Y9000X 2022 IAH7) has wrong trigger type in DSDT, which makes this change
  useless.
- Instead, ignore errors when configuring interrupts to allow laptops with bad ACPI to play audio.
  (via a patch from Stefan Binding)

Change from v2 <https://lore.kernel.org/lkml/TYCP286MB253523D85F6E0ECAA3E03D58C40E2@TYCP286MB2535.JPNP286.PROD.OUTLOOK.COM/T/>:
- Correct spkid gpio index.

Change from v1 <https://lore.kernel.org/lkml/TYCP286MB25352F3E995FED9CCE90F1F6C40B2@TYCP286MB2535.JPNP286.PROD.OUTLOOK.COM/T/>:
- Add a patch for cs35l41 to obey the trigger type from DSDT.
- Avoid disabling interupts for second amps.

Junhao Pei (1):
  ALSA: hda/realtek: Fix internal speakers for Legion Y9000X 2022 IAH7

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

Comments

Takashi Iwai May 7, 2024, 12:23 p.m. UTC | #1
On Mon, 06 May 2024 10:09:27 +0200,
Junhao Pei wrote:
> 
> This fixes the sound not working from internal speakers on
> Lenovo Legion Y9000X 2022 IAH7 models.
> 
> Closes: https://bugzilla.kernel.org/show_bug.cgi?id=218744
> 
> This patch depends on [PATCH v1 1/2] ALSA: hda: cs35l41: Ignore errors when configuring IRQs (by Stefan Binding)
> See also <https://lore.kernel.org/lkml/20240429154853.9393-2-sbinding@opensource.cirrus.com/>
> 
> Change from v3 <https://lore.kernel.org/lkml/TYCP286MB25357A4599E935F26A8AAB24C40E2@TYCP286MB2535.JPNP286.PROD.OUTLOOK.COM/T/>:
> - Remove the patch for cs35l41 to obey the trigger type from DSDT, for it is rarely used, and
>   the existing samples (Y9000X 2022 IAH7) has wrong trigger type in DSDT, which makes this change
>   useless.
> - Instead, ignore errors when configuring interrupts to allow laptops with bad ACPI to play audio.
>   (via a patch from Stefan Binding)
> 
> Change from v2 <https://lore.kernel.org/lkml/TYCP286MB253523D85F6E0ECAA3E03D58C40E2@TYCP286MB2535.JPNP286.PROD.OUTLOOK.COM/T/>:
> - Correct spkid gpio index.
> 
> Change from v1 <https://lore.kernel.org/lkml/TYCP286MB25352F3E995FED9CCE90F1F6C40B2@TYCP286MB2535.JPNP286.PROD.OUTLOOK.COM/T/>:
> - Add a patch for cs35l41 to obey the trigger type from DSDT.
> - Avoid disabling interupts for second amps.
> 
> Junhao Pei (1):
>   ALSA: hda/realtek: Fix internal speakers for Legion Y9000X 2022 IAH7

Applied to for-next branch now.  Thanks.


Takashi