patch-2.3.1 linux/drivers/sbus/audio/audio.c

Next file: linux/drivers/sbus/audio/dbri.h
Previous file: linux/drivers/pci/oldproc.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.0/linux/drivers/sbus/audio/audio.c linux/drivers/sbus/audio/audio.c
@@ -117,6 +117,11 @@
          * TODO: Make number of input/output buffers tunable parameters
          */
 
+        init_waitqueue_head(&drv->open_wait);
+        init_waitqueue_head(&drv->output_write_wait);
+        init_waitqueue_head(&drv->output_drain_wait);
+        init_waitqueue_head(&drv->input_read_wait);
+
         drv->num_output_buffers = 8;
 	drv->output_buffer_size = (4096 * 2);
 	drv->playing_count = 0;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)