From: Clemens Ladisch Date: Mon, 2 Mar 2009 11:06:28 +0000 (+0100) Subject: sound: usb-audio: fix queue length check for high speed devices X-Git-Tag: v2.6.30-rc1~676^2~1^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b1c86bb807448701400abc6eb8e958475ab5424b;p=pandora-kernel.git 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 Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed