[ALSA] Fix for LG K1 Express Laptop
authorMagnus Sandin <magnus@sandin.cx>
Wed, 16 Aug 2006 13:25:23 +0000 (15:25 +0200)
committerJaroslav Kysela <perex@suse.cz>
Sat, 23 Sep 2006 08:41:10 +0000 (10:41 +0200)
Attached is the patch for the LG K1 Express (K1-2333V) laptop that
enables sound output.

Signed-off-by: Magnus Sandin <magnus@sandin.cx>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
sound/pci/ac97/ac97_patch.c

index 5267b00..37c6be4 100644 (file)
@@ -2208,7 +2208,8 @@ int patch_alc655(struct snd_ac97 * ac97)
                val &= ~(1 << 1); /* Pin 47 is spdif input pin */
        else { /* ALC655 */
                if (ac97->subsystem_vendor == 0x1462 &&
-                   ac97->subsystem_device == 0x0131) /* MSI S270 laptop */
+                   (ac97->subsystem_device == 0x0131 || /* MSI S270 laptop */
+                    ac97->subsystem_device == 0x0161)) /* LG K1 Express */
                        val &= ~(1 << 1); /* Pin 47 is EAPD (for internal speaker) */
                else
                        val |= (1 << 1); /* Pin 47 is spdif input pin */