patch-2.0.11 linux/drivers/sound/sb_common.c

Next file: linux/drivers/sound/sequencer.c
Previous file: linux/drivers/sound/sb_card.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.0.10/linux/drivers/sound/sb_common.c linux/drivers/sound/sb_common.c
@@ -1163,6 +1163,9 @@
 
   last_devc = 0;
 
+  if (hw_config->io_base <= 0)
+     return 0;
+
   if (check_region (hw_config->io_base, 4))
     {
       printk ("sbmpu: I/O port conflict (%x)\n", hw_config->io_base);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov