commit | a65dd997b3cf057f6524466cf8dfb8382c132bd5 | [log] [tgz] |
---|---|---|
author | Clemens Ladisch <clemens@ladisch.de> | Mon Jul 13 13:48:36 2009 +0200 |
committer | Takashi Iwai <tiwai@suse.de> | Wed Jul 15 11:56:41 2009 +0200 |
tree | f5463308ba24a10266ae828ed869500c6f282fd1 | |
parent | ed4affa53229701be7be4f7f84ba84164135d7e8 [diff] |
sound: usb-audio: add MIDI drain callback 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>