patch-2.1.41 linux/drivers/sound/trix.c
Next file: linux/drivers/sound/uart401.c
Previous file: linux/drivers/sound/sscape.c
Back to the patch index
Back to the overall index
- Lines: 20
- Date:
Sun May 11 02:59:29 1997
- Orig file:
v2.1.40/linux/drivers/sound/trix.c
- Orig date:
Tue Mar 4 10:25:25 1997
diff -u --recursive --new-file v2.1.40/linux/drivers/sound/trix.c linux/drivers/sound/trix.c
@@ -339,9 +339,19 @@
void
attach_trix_sb (struct address_info *hw_config)
{
+ extern int sb_be_quiet;
+ int old_quiet;
+
#ifdef CONFIG_SBDSP
hw_config->driver_use_1 = SB_NO_MIDI | SB_NO_MIXER | SB_NO_RECORDING;
+
+ /* Prevent false alarms */
+ old_quiet = sb_be_quiet;
+ sb_be_quiet = 1;
+
sb_dsp_init (hw_config);
+
+ sb_be_quiet = old_quiet;
#endif
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov