Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e7d24f0b authored by Jaroslav Kysela's avatar Jaroslav Kysela Committed by Jaroslav Kysela
Browse files

[ALSA] ac97_codec (ALC655): add EAPD hack for MSI L725 laptop



New PCI ID described and tested Spectr <spectr@gmail.com> .

Signed-off-by: default avatarJaroslav Kysela <perex@suse.cz>
parent 99b5aa3c
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -2261,7 +2261,8 @@ int patch_alc655(struct snd_ac97 * ac97)
	else { /* ALC655 */
		if (ac97->subsystem_vendor == 0x1462 &&
		    (ac97->subsystem_device == 0x0131 || /* MSI S270 laptop */
		     ac97->subsystem_device == 0x0161)) /* LG K1 Express */
		     ac97->subsystem_device == 0x0161 || /* LG K1 Express */
		     ac97->subsystem_device == 0x0351))  /* MSI L725 laptop */
			val &= ~(1 << 1); /* Pin 47 is EAPD (for internal speaker) */
		else
			val |= (1 << 1); /* Pin 47 is spdif input pin */