lkml.org 
[lkml]   [1998]   [Mar]   [24]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
DateTue, 24 Mar 1998 03:45:30 -0500
FromMyrdraal <>
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 12:41    [from the cache]
©2003-2008