aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/ac97
diff options
context:
space:
mode:
authorJaroslav Kysela <perex@suse.cz>2006-10-05 03:30:36 -0400
committerJaroslav Kysela <perex@server.perex.cz>2006-12-20 02:55:34 -0500
commite7d24f0bbd0eb0d9a6d337ef67d5e2ad78900488 (patch)
tree9eba14d5f94084b7748e6472ce02d8b13811144b /sound/pci/ac97
parent99b5aa3c10c7cff1e97239fda93649222fc12d25 (diff)
[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>
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 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)
2261 else { /* ALC655 */ 2261 else { /* ALC655 */
2262 if (ac97->subsystem_vendor == 0x1462 && 2262 if (ac97->subsystem_vendor == 0x1462 &&
2263 (ac97->subsystem_device == 0x0131 || /* MSI S270 laptop */ 2263 (ac97->subsystem_device == 0x0131 || /* MSI S270 laptop */
2264 ac97->subsystem_device == 0x0161)) /* LG K1 Express */ 2264 ac97->subsystem_device == 0x0161 || /* LG K1 Express */
2265 ac97->subsystem_device == 0x0351)) /* MSI L725 laptop */
2265 val &= ~(1 << 1); /* Pin 47 is EAPD (for internal speaker) */ 2266 val &= ~(1 << 1); /* Pin 47 is EAPD (for internal speaker) */
2266 else 2267 else
2267 val |= (1 << 1); /* Pin 47 is spdif input pin */ 2268 val |= (1 << 1); /* Pin 47 is spdif input pin */