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

Next file: linux/drivers/sound/sequencer.c
Previous file: linux/drivers/sound/maui.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.88/linux/drivers/sound/midibuf.c linux/drivers/sound/midibuf.c
@@ -396,12 +396,12 @@
 	dev = dev >> 4;
 
 	/* input */
-	poll_wait(&input_sleeper[dev], wait);
+	poll_wait(file, &input_sleeper[dev], wait);
 	if (DATA_AVAIL(midi_in_buf[dev]))
 		mask |= POLLIN | POLLRDNORM;
 
 	/* output */
-	poll_wait(&midi_sleeper[dev], wait);
+	poll_wait(file, &midi_sleeper[dev], wait);
 	if (!SPACE_AVAIL(midi_out_buf[dev]))
 		mask |= POLLOUT | POLLWRNORM;
 	

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