patch-1.3.36 linux/drivers/sound/adlib_card.c

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

diff -u --recursive --new-file v1.3.35/linux/drivers/sound/adlib_card.c linux/drivers/sound/adlib_card.c
@@ -35,11 +35,9 @@
 attach_adlib_card (long mem_start, struct address_info *hw_config)
 {
 
-  if (opl3_detect (hw_config->io_base, hw_config->osp))
-    {
-      mem_start = opl3_init (mem_start, hw_config->io_base, hw_config->osp);
-      request_region (hw_config->io_base, 4, "OPL3/OPL2");
-    }
+  mem_start = opl3_init (mem_start, hw_config->io_base, hw_config->osp);
+  request_region (hw_config->io_base, 4, "OPL3/OPL2");
+
   return mem_start;
 }
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this