lkml.org 
[lkml]   [1998]   [Mar]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: ad1848 module never unloads.
Hi,
After poking around in drivers/sound/ad1848.c for a bit, I noticed an
MOD_INC_USE_COUNT in it. If I remove that, the modules will happily
load/unload and show the correct amount of "users". Everything seems
to be working fine, is there some reason why that should be actually
be there? Attached is a patch removing it relative to 2.1.90/2.1.91pre1.
-Myrdraal
--- linux/drivers/sound/ad1848.c Wed Mar 18 03:36:22 1998
+++ linux-2.1.91/drivers/sound/ad1848.c Tue Mar 24 03:38:53 1998
@@ -1843,7 +1843,6 @@
{
audio_devs[my_dev]->mixer_dev = e;
}
- MOD_INC_USE_COUNT;
return my_dev;
}
\
 
 \ /
  Last update: 2005-03-22 13:41    [W:0.026 / U:0.372 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site