patch-2.4.21 linux-2.4.21/drivers/sound/gus_midi.c

Next file: linux-2.4.21/drivers/sound/gus_wave.c
Previous file: linux-2.4.21/drivers/sound/forte.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.20/drivers/sound/gus_midi.c linux-2.4.21/drivers/sound/gus_midi.c
@@ -183,7 +183,7 @@
 		qhead++;
 	}
 	restore_flags(flags);
-	return (qlen > 0) | !(GUS_MIDI_STATUS() & MIDI_XMIT_EMPTY);
+	return (qlen > 0) || !(GUS_MIDI_STATUS() & MIDI_XMIT_EMPTY);
 }
 
 #define MIDI_SYNTH_NAME	"Gravis Ultrasound Midi"

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