summaryrefslogtreecommitdiffstats
path: root/sound/pci/ac97
diff options
context:
space:
mode:
authorMagnus Sandin <magnus@sandin.cx>2006-08-16 15:25:23 +0200
committerJaroslav Kysela <perex@suse.cz>2006-09-23 10:41:10 +0200
commitd244bf897b2e7933112067ec8d8dc1d47b86145f (patch)
treefc1c434f9a00c7953050ffbc6242a316a3a5e8fa /sound/pci/ac97
parent80b556f26b3830ad5bd6ff9f701675ac8afcb263 (diff)
downloadop-kernel-dev-d244bf897b2e7933112067ec8d8dc1d47b86145f.zip
op-kernel-dev-d244bf897b2e7933112067ec8d8dc1d47b86145f.tar.gz
[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')
-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 5267b00..37c6be4 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)
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 */
OpenPOWER on IntegriCloud