sound: usb-audio: add MIDI drain callback
authorClemens Ladisch <clemens@ladisch.de>
Mon, 13 Jul 2009 11:48:36 +0000 (13:48 +0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 15 Jul 2009 09:56:41 +0000 (11:56 +0200)
When draining, instead of waiting for fifty milliseconds, just wait for
the currently active URBs to complete.  This cuts the usual waiting time
down to one USB frame, or zero in the common case when there is no URB.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>

No differences found