upstream: [media] em28xx-audio: split URB initialization code
authorMauro Carvalho Chehab <m.chehab@samsung.com>
Sun, 12 Jan 2014 13:10:34 +0000 (10:10 -0300)
committerChanho Park <chanho61.park@samsung.com>
Tue, 18 Nov 2014 02:54:28 +0000 (11:54 +0900)
commitb6b5b229aa5170a6b586d5051f7c20f77690f854
tree3e416071a6311dab21d0ee4a7e1a66bf4b3f2777
parent1d456811ce4643889c9d6ad581bfe7e1c6ddd08e
upstream: [media] em28xx-audio: split URB initialization code

The URB calculus code may eventually be moved to some other
place, like at pcm open, if it ends by needing more setups, like
working with different bit rates, or different audio latency.

So, move it into a separate routine. That also makes the code
more readable.

No functional changes.

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/usb/em28xx/em28xx-audio.c