[ALSA] ac97_codec (ALC655): add EAPD hack for MSI L725 laptop
authorJaroslav Kysela <perex@suse.cz>
Thu, 5 Oct 2006 07:30:36 +0000 (09:30 +0200)
committerJaroslav Kysela <perex@server.perex.cz>
Wed, 20 Dec 2006 07:55:34 +0000 (08:55 +0100)
New PCI ID described and tested Spectr <spectr@gmail.com> .

Signed-off-by: Jaroslav Kysela <perex@suse.cz>
sound/pci/ac97/ac97_patch.c

index 15be6ba87c82f85e95fd661a311f19133a285f4a..f63025e99ab6ad6133890f6ad7c2490ae200df51 100644 (file)
@@ -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 */