From: Clemens Ladisch Date: Mon, 13 Jul 2009 11:48:36 +0000 (+0200) Subject: sound: usb-audio: add MIDI drain callback X-Git-Tag: v2.6.32-rc1~732^2~1^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a65dd997b3cf057f6524466cf8dfb8382c132bd5;p=pandora-kernel.git 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 Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed