Re: 2.1.130 Oops (sound related, reproducable)

Philipp Rumpf (prumpf@jcsbs.lanobis.de)
Sat, 28 Nov 1998 15:44:50 +0100


--EuxKj2iCbKjpUGkD
Content-Type: text/plain; charset=us-ascii

On Sat, Nov 28, 1998 at 05:21:00PM +1300, Nic Bellamy wrote:
> If I load my sound module (sb.o in this case, for a SB16), but give it the
> wrong parameters, it appears the probe routines are not releasing the I/O
> port (this is my relatively uneducated guess, anyway). I saw a similar

This patch should fix the problem.

Philipp Rumpf

--EuxKj2iCbKjpUGkD
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="patch.sb"

--- linux/drivers/sound/sb_common.c Sat Nov 28 11:49:15 1998
+++ linux-prumpf/drivers/sound/sb_common.c Sat Nov 28 15:38:46 1998
@@ -878,6 +878,7 @@

if(!sb16_set_dma_hw(devc)) {
free_irq(devc->irq, devc);
+ release_region(hw_config->io_base, 16);
return 0;
}

--EuxKj2iCbKjpUGkD--

-
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/