[ALSA] usb-audio: factor out packet size calculation code
authorClemens Ladisch <clemens@ladisch.de>
Thu, 12 Jan 2006 07:19:21 +0000 (08:19 +0100)
committerJaroslav Kysela <perex@suse.cz>
Wed, 22 Mar 2006 09:22:27 +0000 (10:22 +0100)
commit9568f461e50c023e45ec702027bb1a5f60e443dc
tree5c38356197de86514be184244eabc6f86a0154e5
parent7c79b7682ee6318a8e47173b158846ed0edd8f1a
[ALSA] usb-audio: factor out packet size calculation code

Modules: USB generic driver

Move the common packet size calculation code from
prepare_startup_playback_urb() and prepare_playback_urb() to a new
function.

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