patch-2.1.88 linux/drivers/sound/dev_table.c
Next file: linux/drivers/sound/dev_table.h
Previous file: linux/drivers/sound/cs4232.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Thu Feb 19 14:46:14 1998
- Orig file:
v2.1.87/linux/drivers/sound/dev_table.c
- Orig date:
Fri Jan 23 18:10:32 1998
diff -u --recursive --new-file v2.1.87/linux/drivers/sound/dev_table.c linux/drivers/sound/dev_table.c
@@ -438,6 +438,8 @@
return -(ENOMEM);
}
memset((char *) op, 0, sizeof(struct audio_operations));
+ init_waitqueue(&op->in_sleeper);
+ init_waitqueue(&op->out_sleeper);
if (driver_size < sizeof(struct audio_driver))
memset((char *) d, 0, sizeof(struct audio_driver));
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov