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

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


Index: serial-u16550.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/drivers/serial-u16550.c,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -r1.23 -r1.24
--- serial-u16550.c     3 Dec 2003 13:23:22 -0000       1.23
+++ serial-u16550.c     13 Jan 2004 17:11:25 -0000      1.24
@@ -347,8 +347,10 @@
        }
 
        uart->res_base = request_region(io_base, 8, "Serial MIDI");
-       if (uart->res_base == NULL)
+       if (uart->res_base == NULL) {
+               snd_printk(KERN_ERR "u16550: can't grab port 0x%lx\n", io_base);
                return -EBUSY;
+       }
 
        ok = 1;                 /* uart detected unless one of the following tests 
should fail */
        /* 8 data-bits, 1 stop-bit, parity off, DLAB = 0 */



-------------------------------------------------------
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