Fix to the Pro Audio Spectrum sound driver

From: Arthur Peters (amep@softhome.net)
Date: Tue Jun 06 2000 - 19:30:23 EST


Hello,
        There has been been a problem with the pas2 driver that caused
the mixer not to function. I found the problem in the code and created
this patch. It fixes the mixer on the Pro Audio Spectrum 16
rev. D. Would anyone who uses this driver please test this change. The
patch is as follows:
<<BEGIN PATCH>>
--- /usr/src/kernel-source-2.2.12/drivers/sound/pas2_mixer.c Mon Nov 1 16:30:21 1999
+++ pas2_mixer.c Fri May 26 00:23:39 2000
@@ -71,7 +71,7 @@
 
         if (pas_model == 4)
           {
- outw(data | (data << 8), (ioaddr ^ translate_code) - 1);
+ outw(data | (data << 8), (ioaddr + translate_code) - 1);
                   outb((0x80), 0);
         } else
                 pas_write(data, ioaddr);
<<END PATCH>>

If you'd rather download it, the patch can be found at
http://home.swbell.net/ri1300/programs.html. Thanks for your time.
-Arthur Peters

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Jun 07 2000 - 21:00:26 EST