patch-2.1.89 linux/drivers/sound/sequencer.c

Next file: linux/drivers/sound/sound_calls.h
Previous file: linux/drivers/sound/midibuf.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.88/linux/drivers/sound/sequencer.c linux/drivers/sound/sequencer.c
@@ -1578,12 +1578,12 @@
 	save_flags(flags);
 	cli();
 	/* input */
-	poll_wait(&midi_sleeper, wait);
+	poll_wait(file, &midi_sleeper, wait);
 	if (iqlen)
 		mask |= POLLIN | POLLRDNORM;
 
 	/* output */
-	poll_wait(&seq_sleeper, wait);
+	poll_wait(file, &seq_sleeper, wait);
 	if ((SEQ_MAX_QUEUE - qlen) >= output_threshold) 
 		mask |= POLLOUT | POLLWRNORM;
 	restore_flags(flags);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov