commit | b1c86bb807448701400abc6eb8e958475ab5424b | [log] [tgz] |
---|---|---|
author | Clemens Ladisch <clemens@ladisch.de> | Mon Mar 02 12:06:28 2009 +0100 |
committer | Takashi Iwai <tiwai@suse.de> | Mon Mar 02 14:50:01 2009 +0100 |
tree | 7673a17d82c20f5bc1824c17bc2cb1a0c05004ea | |
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>