sound: usb-audio: allow period sizes less than 1 ms
authorClemens Ladisch <clemens@ladisch.de>
Fri, 3 Apr 2009 07:48:26 +0000 (09:48 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 7 Apr 2009 02:11:28 +0000 (04:11 +0200)
commita7d9c0990d5503775784fef7ff44d74d7e3294fd
treeaf61abe757897db23d2266506db75d241f586948
parent744b89e542b9a16c9afb8a88f623fbe059c88ccb
sound: usb-audio: allow period sizes less than 1 ms

To enable periods shorter than 1 ms, we have to make sure that short
periods are only available for alternate settings that have a small
enough data packet interval.  Furthermore, the code that aligns URBs to
USB frames is now superfluous.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/usbaudio.c