diff options
author | Clemens Ladisch <clemens@ladisch.de> | 2009-03-02 12:06:28 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2009-03-02 14:50:01 +0100 |
commit | b1c86bb807448701400abc6eb8e958475ab5424b (patch) | |
tree | 7673a17d82c20f5bc1824c17bc2cb1a0c05004ea /lib/syscall.c | |
parent | eab2b553c3d3ed20698c4a9c7e049a60b804e2f5 (diff) |
sound: usb-audio: fix queue length check for high speed devices
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>
Diffstat (limited to 'lib/syscall.c')
0 files changed, 0 insertions, 0 deletions