diff options
author | Clemens Ladisch <clemens@ladisch.de> | 2009-07-13 13:48:36 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2009-07-15 11:56:41 +0200 |
commit | a65dd997b3cf057f6524466cf8dfb8382c132bd5 (patch) | |
tree | f5463308ba24a10266ae828ed869500c6f282fd1 /sound/usb/usbaudio.c | |
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>
Diffstat (limited to 'sound/usb/usbaudio.c')
0 files changed, 0 insertions, 0 deletions