summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJaroslav Kysela <perex@suse.cz>2006-10-05 09:30:36 +0200
committerJaroslav Kysela <perex@server.perex.cz>2006-12-20 08:55:34 +0100
commite7d24f0bbd0eb0d9a6d337ef67d5e2ad78900488 (patch)
tree9eba14d5f94084b7748e6472ce02d8b13811144b
parent[ALSA] sound: Don't include i2c-dev.h (diff)
downloadlinux-e7d24f0bbd0eb0d9a6d337ef67d5e2ad78900488.tar.xz
linux-e7d24f0bbd0eb0d9a6d337ef67d5e2ad78900488.zip
[ALSA] ac97_codec (ALC655): add EAPD hack for MSI L725 laptop
New PCI ID described and tested Spectr <spectr@gmail.com> . Signed-off-by: Jaroslav Kysela <perex@suse.cz>
-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 15be6ba87c82..f63025e99ab6 100644
--- a/sound/pci/ac97/ac97_patch.c
+++ b/sound/pci/ac97/ac97_patch.c
@@ -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 */