patch-2.1.110 linux/drivers/sound/mad16.c
Next file: linux/drivers/sound/msnd.c
Previous file: linux/drivers/sound/dev_table.h
Back to the patch index
Back to the overall index
- Lines: 22
- Date:
Sat Jul 18 14:11:41 1998
- Orig file:
v2.1.109/linux/drivers/sound/mad16.c
- Orig date:
Thu Jul 16 18:09:26 1998
diff -u --recursive --new-file v2.1.109/linux/drivers/sound/mad16.c linux/drivers/sound/mad16.c
@@ -1033,10 +1033,10 @@
config_mpu.io_base = mpu_io;
config_mpu.irq = mpu_irq;
- found_mpu = probe_mad16_mpu(&config_mpu);
-
attach_mad16(&config);
+ found_mpu = probe_mad16_mpu(&config_mpu);
+
if (found_mpu)
attach_mad16_mpu(&config_mpu);
@@ -1047,7 +1047,7 @@
void cleanup_module(void)
{
if (found_mpu)
- unload_mad16_mpu(&config);
+ unload_mad16_mpu(&config_mpu);
unload_mad16(&config);
SOUND_LOCK_END;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov