ALSA: firewire-lib: schedule work again when MIDI substream has rest of MIDI messages
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Thu, 8 Oct 2015 23:10:27 +0000 (08:10 +0900)
committerTakashi Iwai <tiwai@suse.de>
Fri, 9 Oct 2015 07:57:05 +0000 (09:57 +0200)
commite8a40d9bcb2392ea502dc629d5d6c0556fdd3b0c
treec74d4774ab4daaf6739361b6edf87939d47e1417
parentd3ef9cb93aec59eb1d90d01ae0642fd517c25381
ALSA: firewire-lib: schedule work again when MIDI substream has rest of MIDI messages

Currently, when two MIDI trigger callbacks can be called immediately,
transactions for the second MIDI messages can be postpone till next trigger
callback. This is not good for real-time message transmission.

This commit schedules work again at response handling callback if the
MIDI substream still includes untransferred MIDI messages.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/firewire/lib.c