lkml.org 
[lkml]   [1999]   [Jan]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Date
Subjectfix for ad1848 sound driver



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/

\
 
 \ /
  Last update: 2005-03-22 13:49    [W:0.026 / U:0.288 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site