Re: [PATCH] ALSA: hda/realtek: Add quirk for Lenovo Yoga Pro 7 14ARP8

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hi Gergely,

On Tue, 2024-06-11 at 20:36 +0200, Gergely Mészáros wrote:
> +/* Similar to above the Lenovo Yoga Pro 7 14ARP8 PCI SSID matches the codec SSID of the
> +   Legion Y9000X 2022 IAH7.*/
> +static void alc287_fixup_yoga_pro_7_14arp8(struct hda_codec *codec,
> +					   const struct hda_fixup *fix,
> +					   int action)

Can this shared function and fixup be renamed to include Legion IAH7?

> +{
> +	int id;
> +
> +	if (codec->core.subsystem_id == 0x17aa386e)
> +		id = ALC287_FIXUP_CS35L41_I2C_2; /* Legion Y9000X 2022 IAH7 */
> +	else
> +		id = ALC287_FIXUP_YOGA_PRO_7_14ARP8_BOTH_SPK_TO_DAC2; /* Yoga Pro 7 14ARP8 */


Does the amplifier work also with ALC285_FIXUP_THINKPAD_HEADSET_JACK?
If so, ALC287_FIXUP_YOGA_PRO_7_14ARP8_BOTH_SPK_TO_DAC2 is unnecessary.

Best regards,
Gergo







[Index of Archives]     [Pulseaudio]     [Linux Audio Users]     [ALSA Devel]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux