aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/ac97/ac97_patch.c
diff options
context:
space:
mode:
authorMagnus Sandin <magnus@sandin.cx>2006-08-16 09:25:23 -0400
committerJaroslav Kysela <perex@suse.cz>2006-09-23 04:41:10 -0400
commitd244bf897b2e7933112067ec8d8dc1d47b86145f (patch)
treefc1c434f9a00c7953050ffbc6242a316a3a5e8fa /sound/pci/ac97/ac97_patch.c
parent80b556f26b3830ad5bd6ff9f701675ac8afcb263 (diff)
[ALSA] Fix for LG K1 Express Laptop
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>
Diffstat (limited to 'sound/pci/ac97/ac97_patch.c')
-rw-r--r--sound/pci/ac97/ac97_patch.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/pci/ac97/ac97_patch.c b/sound/pci/ac97/ac97_patch.c
index 5267b006c5c8..37c6be481c4a 100644
--- a/sound/pci/ac97/ac97_patch.c
+++ b/sound/pci/ac97/ac97_patch.c
@@ -2208,7 +2208,8 @@ int patch_alc655(struct snd_ac97 * ac97)
2208 val &= ~(1 << 1); /* Pin 47 is spdif input pin */ 2208 val &= ~(1 << 1); /* Pin 47 is spdif input pin */
2209 else { /* ALC655 */ 2209 else { /* ALC655 */
2210 if (ac97->subsystem_vendor == 0x1462 && 2210 if (ac97->subsystem_vendor == 0x1462 &&
2211 ac97->subsystem_device == 0x0131) /* MSI S270 laptop */ 2211 (ac97->subsystem_device == 0x0131 || /* MSI S270 laptop */
2212 ac97->subsystem_device == 0x0161)) /* LG K1 Express */
2212 val &= ~(1 << 1); /* Pin 47 is EAPD (for internal speaker) */ 2213 val &= ~(1 << 1); /* Pin 47 is EAPD (for internal speaker) */
2213 else 2214 else
2214 val |= (1 << 1); /* Pin 47 is spdif input pin */ 2215 val |= (1 << 1); /* Pin 47 is spdif input pin */