Update of /cvsroot/alsa/alsa-kernel/drivers/opl4
In directory sc8-pr-cvs1:/tmp/cvs-serv30367/drivers/opl4

Modified Files:
        opl4_lib.c 
Log Message:
- added the error messages for resource allocation failures.


Index: opl4_lib.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/drivers/opl4/opl4_lib.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- opl4_lib.c  18 Jul 2003 10:03:57 -0000      1.4
+++ opl4_lib.c  13 Jan 2004 17:11:25 -0000      1.5
@@ -206,6 +206,7 @@
        opl4->res_fm_port = request_region(fm_port, 8, "OPL4 FM");
        opl4->res_pcm_port = request_region(pcm_port, 8, "OPL4 PCM/MIX");
        if (!opl4->res_fm_port || !opl4->res_pcm_port) {
+               snd_printk(KERN_ERR "opl4: can't grab ports 0x%lx, 0x%lx\n", fm_port, 
pcm_port);
                snd_opl4_free(opl4);
                return -EBUSY;
        }



-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
_______________________________________________
Alsa-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-cvslog

Reply via email to