sound: usb-audio: make URB sizes more equal
authorClemens Ladisch <clemens@ladisch.de>
Mon, 26 Jan 2009 07:10:19 +0000 (08:10 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 26 Jan 2009 16:05:10 +0000 (17:05 +0100)
commit160389c8d21c8139a93191c2e5ca2273f311ed4e
tree7be9b7c475d23343ec41b7ef0f2d97e7fffbc7b0
parent4d788e040b72d2a46ea3ba726b7fa0b65de06c88
sound: usb-audio: make URB sizes more equal

Distribute the packets evenly among the URBs, instead of making all URBs
except the last one to have the maximum size.  This makes the timing of
pointer updates more regular and removes some special cases from the
code.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/usbaudio.c