[media] msi2500: refactor USB stream copying
authorAntti Palosaari <crope@iki.fi>
Tue, 22 Jul 2014 08:29:57 +0000 (05:29 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Tue, 22 Jul 2014 14:34:57 +0000 (11:34 -0300)
commit8591f708045d8d706adebeaf03e667aa58ccf6ea
tree9730fbe855f5442698aa5ec9b2c1c1eaa5762503
parentc08de62f1fa8813de5bcc0db48570b2340cbaf18
[media] msi2500: refactor USB stream copying

There was a lot of duplicated functionality between different
stream format handling. Refactor functionality in order to get
rid of duplicated code.

Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/usb/msi2500/msi2500.c