fix for ad1848 sound driver

Christian Groessler (cpg@aladdin.de)
Tue, 19 Jan 1999 23:43:18 +0100


Hello,

the ad1848 driver, when compiled as module, did not release it's
2nd dma channel at unload time.

diff -ruN /net/soft/src/linux-2.2.0-pre8/drivers/sound/ad1848.c
/usr/src/linux-2.2.0-pre8/drivers/sound/ad1848.c
--- /net/soft/src/linux-2.2.0-pre8/drivers/sound/ad1848.c Tue Jan 19
22:29:27 1999
+++ /usr/src/linux-2.2.0-pre8/drivers/sound/ad1848.c Tue Jan 19 22:37:49
1999
@@ -2420,7 +2420,7 @@
ad1848_unload(hw_config->io_base + 4,
hw_config->irq,
hw_config->dma,
- hw_config->dma, 0);
+ hw_config->dma2, 0);
sound_unload_audiodev(hw_config->slots[0]);
release_region(hw_config->io_base, 4);
}

regards,
chris

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