[PATCH] [UBUNTU:sound/pci/ac97/] Add EAPD hack for MSI L725

crimsun at fungus.sh.nu crimsun at fungus.sh.nu
Sun Oct 8 01:57:27 UTC 2006


From 61d025e4a9404e673a836a981a43583324cd2478 Mon Sep 17 00:00:00 2001
From: Daniel T. Chen <crimsun at garnish.localdomain>
Date: Sat, 7 Oct 2006 20:55:54 -0400
Subject: [PATCH] [UBUNTU:sound/pci/ac97/] Add EAPD hack for MSI L725

UpstreamStatus: Added in upstream alsa-kernel hg changeset:
		9233e1d82ed0 [http://hg-mirror.alsa-project.org/alsa-kernel?cmd=changeset;node=9233e1d82ed045609e1fb76acf00696393589031;style=raw]

This commit adds an EAPD hack for the ALC655, MSI model L725 laptop.

This commit is applicable to both Dapper and Edgy linux-source.

Signed-off-by: Spectr <spectr at gmail.com>
Signed-off-by: Daniel T Chen <crimsun at ubuntu.com>
---
 sound/pci/ac97/ac97_patch.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/sound/pci/ac97/ac97_patch.c b/sound/pci/ac97/ac97_patch.c
index 88ff73a..22f1820 100644
--- a/sound/pci/ac97/ac97_patch.c
+++ b/sound/pci/ac97/ac97_patch.c
@@ -2212,7 +2212,8 @@ int patch_alc655(ac97_t * 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 */
-- 
1.4.1


-- 
Daniel T. Chen            crimsun at ubuntu.com
GPG key:  0xC88ABDA3
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20061007/9258682f/attachment.sig>


More information about the kernel-team mailing list