sound: usb-audio: fix queue length check for high speed devices
authorClemens Ladisch <clemens@ladisch.de>
Mon, 2 Mar 2009 11:06:28 +0000 (12:06 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 2 Mar 2009 13:50:01 +0000 (14:50 +0100)
When checking for the maximum queue length, we have to take into account
that MAX_QUEUE is measured in milliseconds (i.e., frames) while the unit
of urb_packs is whatever data packet interval the device uses (possibly
less than one frame when using high speed devices).

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

No differences found