[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

ALSA Patch



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Here's a patch required to make the es18xx work on the Alpha PWS500au (without 
it you just get endless looping of the first second of sound on playback).

It re-enables alternative code (that was ifdefed out) for figuring out the 
source of the interupt if the chip revision doesn't have control ports (i.e. 
ES18XX_CONTROL flag is not set).

I posted this to the ALSA group's maillist, asking for comments/inclusion, 
quite some time ago.  Nothing ever came of it.

- -T

- -- 
 Tyson Whitehead  (-twhitehe@uwo.ca -- WSC-)
 Computer Engineer                        Dept. of Applied Mathematics,
 Graduate Student- Applied Mathematics    University of Western Ontario,
 GnuPG Key ID# 0x8A2AB5D8                 London, Ontario, Canada
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFA02GHRXbLmIoqtdgRAgjTAJ91u20aWroOnQQt5dfEQuHnmyyq/ACg7xQU
TV0R6+LBp2XW/CHXxhQnkeo=
=xCCp
-----END PGP SIGNATURE-----
--- sound/isa/es18xx.c~	2003-04-23 06:01:33.000000000 -0400
+++ sound/isa/es18xx.c	2003-06-24 15:14:25.000000000 -0400
@@ -736,10 +736,10 @@
 		/* Read Interrupt status */
 		status = inb(chip->ctrl_port + 6);
+#if 0
 	} else {
 		/* Read Interrupt status */
 		status = snd_es18xx_mixer_read(chip, 0x7f) >> 4;
-	}
-#if 0
-	else {
+#else
+	} else {
 		status = 0;
 		if (inb(chip->port + 0x0C) & 0x01)

Reply to: