Re: ac-patches kill maestro3 sound driver on 2.4.20-pre7 and pre8

Alan Cox (alan@redhat.com)
Sun, 29 Sep 2002 17:43:26 -0400 (EDT)


> I tried the 2.4.20-pre7-ac3 patch and the 2.4.20-pre8-ac1 patch and in
> both cases the sound output is not working with a maestro3 sound chip
> (dell notebook inspiron i8000k). It is working with vanilla 2.4.20-pre7.

Humm try:

--- linux.20pre8-ac2/drivers/sound/maestro3.c~ 2002-09-29 22:47:50.000000000 +0100
+++ linux.20pre8-ac2/drivers/sound/maestro3.c 2002-09-29 22:47:50.000000000 +0100
@@ -2473,7 +2473,7 @@
if(!external_amp)
return;

- if (0 <= gpio_pin <= 15) {
+ if (gpio_pin >= 0 && gpio_pin <= 15) {
polarity_port = 0x1000 + (0x100 * gpio_pin);
} else {
switch (card->card_type) {
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/