]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Sun, 12 Jan 2014 13:57:05 +0000 (11:57 -0200)
commitc05279676a3d51e48ac196c03db2c82de1b9e3ee
tree49f562029cba0fafb11e112fa45ffa03aaa1c49d
parent719f9874df7f4bce214eb32c21d2cb3ea6f64503
[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