Re: [PATCH] ALSA: hda/realtek: Fix Lenovo Yoga Slim 7 14AKP10 quirk ordering
From: Takashi Iwai
Date: Sun Aug 16 2026 - 06:45:36 EST
On Fri, 14 Aug 2026 14:59:37 +0200,
Zhang Heng wrote:
>
> The Yoga Slim 7 14AKP10 has a PCI SSID of 17aa:38b4 but a codec SSID of
> 17aa:391a. The current quirk table contains a PCI quirk for 17aa:38b4
> (for the Legion Slim 7 16IRH8) which matches first, so the codec-specific
> quirk for 17aa:391a is never applied.
>
> This results in the wrong fixup being used (CS35L41_I2C_2 instead of the
> correct bass speaker fixup), leaving the internal speakers misconfigured
> or silent.
>
> Move the 17aa:391a entry to a position before the 17aa:38b4 entry and
> change it from SND_PCI_QUIRK to HDA_CODEC_QUIRK, because it should match
> on the codec subsystem ID rather than the PCI SSID.
>
> With this change, the correct ALC287_FIXUP_YOGA9_14IAP7_BASS_SPK_PIN is
> applied, restoring speaker output and auto-mute functionality.
>
> Link: https://bugzilla.kernel.org/show_bug.cgi?id=221298
> Signed-off-by: Zhang Heng <zhangheng@xxxxxxxxxx>
Could you put a comment line for the reason of unexpected positioning?
thanks,
Takashi