summaryrefslogtreecommitdiffstats
path: root/sound/usb/usbmixer.c
diff options
context:
space:
mode:
authorClemens Ladisch <clemens@ladisch.de>2009-03-02 12:06:28 +0100
committerTakashi Iwai <tiwai@suse.de>2009-03-02 14:50:01 +0100
commitb1c86bb807448701400abc6eb8e958475ab5424b (patch)
tree7673a17d82c20f5bc1824c17bc2cb1a0c05004ea /sound/usb/usbmixer.c
parentsound: usb-audio: fix rules check for 32-channel devices (diff)
downloadlinux-b1c86bb807448701400abc6eb8e958475ab5424b.tar.xz
linux-b1c86bb807448701400abc6eb8e958475ab5424b.zip
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 'sound/usb/usbmixer.c')
0 files changed, 0 insertions, 0 deletions