[PATCH] GUS module not unloading

Jan Rekorajski (baggins@hunter.mimuw.edu.pl)
Sat, 8 Aug 1998 02:04:33 +0200


[I sent a report, having no answer I sent a patch, maybe this time
finally it gets fixed... -- if the patch is wrong the say so!]

Hi,
This one-liner cures the problem with GUS module unloading problem.
I hope it's OK ;) Works for me...

Jan

--- linux/drivers/sound/gus_wave.c~ Wed Jul 29 00:47:35 1998
+++ linux/drivers/sound/gus_wave.c Wed Jul 29 01:06:48 1998
@@ -3143,6 +3143,7 @@
return;
}

+ hw_config->slots[4] = gus_devnum;
audio_devs[gus_devnum]->min_fragment = 9; /* 512k */
audio_devs[gus_devnum]->max_fragment = 11; /* 8k (must match size of
audio_devs[gus_devnum]->mixer_dev = -1; /* Next mixer# */

-
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.altern.org/andrebalsa/doc/lkml-faq.html