Update of /cvsroot/alsa/alsa-kernel/isa
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17686
Modified Files:
dt019x.c
Log Message:
Added missing pnp_unregister_card_driver call
Index: dt019x.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/isa/dt019x.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- dt019x.c 15 Mar 2004 19:36:11 -0000 1.17
+++ dt019x.c 15 Mar 2004 19:44:56 -0000 1.18
@@ -322,8 +322,10 @@
cards += pnp_register_card_driver(&dt019x_pnpc_driver);
#ifdef MODULE
- if (!cards)
+ if (!cards) {
+ pnp_unregister_card_driver(&dt019x_pnpc_driver);
snd_printk(KERN_ERR "no DT-019X / ALS-007 based soundcards found\n");
+ }
#endif
return cards ? 0 : -ENODEV;
}
-------------------------------------------------------
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