patch-1.3.78 linux/drivers/sound/midibuf.c
Next file: linux/drivers/sound/sb16_dsp.c
Previous file: linux/drivers/sound/mad16.c
Back to the patch index
Back to the overall index
- Lines: 16
- Date:
Sun Mar 24 22:50:08 1996
- Orig file:
v1.3.77/linux/drivers/sound/midibuf.c
- Orig date:
Wed Feb 14 14:37:14 1996
diff -u --recursive --new-file v1.3.77/linux/drivers/sound/midibuf.c linux/drivers/sound/midibuf.c
@@ -513,6 +513,7 @@
case SEL_IN:
if (!DATA_AVAIL (midi_in_buf[dev]))
{
+
input_sleep_flag[dev].mode = WK_SLEEP;
module_select_wait (&input_sleeper[dev], wait);
return 0;
@@ -523,6 +524,7 @@
case SEL_OUT:
if (SPACE_AVAIL (midi_out_buf[dev]))
{
+
midi_sleep_flag[dev].mode = WK_SLEEP;
module_select_wait (&midi_sleeper[dev], wait);
return 0;
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