Update of /cvsroot/alsa/alsa-kernel/isa/sb
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15752
Modified Files:
es968.c
Log Message:
<[EMAIL PROTECTED]>
This oopses on rmmod, as we do pnp_unregister_card_driver twice.
Index: es968.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/isa/sb/es968.c,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -r1.21 -r1.22
--- es968.c 21 Jan 2004 18:32:47 -0000 1.21
+++ es968.c 15 Mar 2004 19:35:28 -0000 1.22
@@ -226,13 +226,10 @@
static int __init alsa_card_es968_init(void)
{
int res = pnp_register_card_driver(&es968_pnpc_driver);
- if (res == 0)
- {
- pnp_unregister_card_driver(&es968_pnpc_driver);
#ifdef MODULE
+ if (res == 0)
snd_printk(KERN_ERR "no ES968 based soundcards found\n");
#endif
- }
return res < 0 ? res : 0;
}
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Alsa-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-cvslog