SOURCES: kernel-desktop-asus-a6km.patch (NEW) - asus patch for als...

patrys patrys at pld-linux.org
Sun Jul 30 18:25:29 CEST 2006


Author: patrys                       Date: Sun Jul 30 16:25:29 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- asus patch for alsa to make it work on a6km

---- Files affected:
SOURCES:
   kernel-desktop-asus-a6km.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/kernel-desktop-asus-a6km.patch
diff -u /dev/null SOURCES/kernel-desktop-asus-a6km.patch:1.1
--- /dev/null	Sun Jul 30 18:25:29 2006
+++ SOURCES/kernel-desktop-asus-a6km.patch	Sun Jul 30 18:25:24 2006
@@ -0,0 +1,15 @@
+diff -r 10a2ea6ebebc pci/ac97/ac97_patch.c
+--- sound/pci/ac97/ac97_patch.c	Thu Apr 20 12:37:00 2006 +0200
++++ sound/pci/ac97/ac97_patch.c	Thu Apr 20 14:55:55 2006 +0200
+@@ -2048,7 +2048,10 @@ int patch_alc650(struct snd_ac97 * ac97)
+ 	/* Enable SPDIF-IN only on Rev.E and above */
+ 	val = snd_ac97_read(ac97, AC97_ALC650_CLOCK);
+ 	/* SPDIF IN with pin 47 */
+-	if (ac97->spec.dev_flags)
++	if (ac97->spec.dev_flags &&
++	    /* ASUS A6KM requires EAPD */
++	    ! (ac97->subsystem_vendor == 0x1043 &&
++	       ac97->subsystem_device == 0x1103))
+ 		val |= 0x03; /* enable */
+ 	else
+ 		val &= ~0x03; /* disable */
================================================================


More information about the pld-cvs-commit mailing list