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

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


Index: es1688_lib.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/isa/es1688/es1688_lib.c,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- es1688_lib.c        23 Apr 2003 10:01:37 -0000      1.19
+++ es1688_lib.c        13 Jan 2004 17:11:26 -0000      1.20
@@ -659,15 +659,18 @@
        chip->dma8 = -1;
        
        if ((chip->res_port = request_region(port + 4, 12, "ES1688")) == NULL) {
+               snd_printk(KERN_ERR "es1688: can't grab port 0x%lx\n", port + 4);
                snd_es1688_free(chip);
                return -EBUSY;
        }
        if (request_irq(irq, snd_es1688_interrupt, SA_INTERRUPT, "ES1688", (void *) 
chip)) {
+               snd_printk(KERN_ERR "es1688: can't grab IRQ %d\n", irq);
                snd_es1688_free(chip);
                return -EBUSY;
        }
        chip->irq = irq;
        if (request_dma(dma8, "ES1688")) {
+               snd_printk(KERN_ERR "es1688: can't grab DMA8 %d\n", dma8);
                snd_es1688_free(chip);
                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