Re: Fix to the Pro Audio Spectrum sound driver

From: Tom Leete (tleete@mountain.net)
Date: Fri Jun 09 2000 - 01:26:43 EST


Arthur Peters wrote:
>
> 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);

I edited it in. It works great, thanks.

Tom

-
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 : Thu Jun 15 2000 - 21:00:17 EST