Re: [PATCH] ALSA: hda/realtek: enable AW88399 on Lenovo Legion R9000P AFR10
From: Takashi Iwai
Date: Sat Oct 10 2026 - 03:59:57 EST
On Fri, 09 Oct 2026 17:58:10 +0200,
Marco Giunta wrote:
>
> Add codec SSID entries for the Lenovo Legion R9000P AFR10 (83F6),
> which uses the same ALC287 + AW88399 smart amplifier configuration
> as the existing supported Legion models.
>
> DSDT inspection confirms identical AWDZ8399 ACPI device layout
> with reversed I2C addresses. The channel swap quirk applies.
>
> Codec SSIDs (Lenovo vendor ID 0x17aa):
>
> * 0x3934: Legion R9000P AFR10 (AMD)
> * 0x3935: Legion R9000P AFR10 (AMD)
>
> Signed-off-by: Marco Giunta <marco_giunta@xxxxxxxxxx>
> ---
> Note: this patch depends on the following commits, which are currently in
> linux-next but not yet in tiwai/sound:
>
> * commit 664824782df6 ("ASoC: aw88399: skip BSTS check when boost
> converter is bypassed")
> * commit c5f615536405 ("ASoC: aw88399: remove bsts_unreliable
> workaround")
> * commit 7df0f9ee9c5a ("ALSA: hda: aw88399: Switch to use
> acpi_bus_get_primary_device()")
>
> The first two change the property table in aw88399_hda.c, simplifying
> aw88399_apply_legion_quirks() to just aw88399_swap_channels(); the third
> shifts by one the line count in aw88399_hda_acpi_probe().
> Without these commits, this patch will not apply cleanly. Hence, for
> simplicity, I based it on linux-next. I am happy to rebase on tiwai/sound
> if preferred (after these changes are merged).
OK, so this obviously needs ASoC PR at first.
Mark, could you send the stuff for pre-7.4?
thanks,
Takashi