]> git.baikalelectronics.ru Git - kernel.git/commit
[media] em28xx: create a common function for isoc and bulk URB allocation and setup
authorFrank Schaefer <fschaefer.oss@googlemail.com>
Thu, 8 Nov 2012 17:11:41 +0000 (14:11 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 22 Dec 2012 19:58:00 +0000 (17:58 -0200)
commitc3cf0f0a3643dd296c02bb5f64a3dab3bc05f3bc
tree600e33dff65d8ed21164b328af217ea629802410
parent3a42d3fe6544453e768839ac90bf0849d860ad25
[media] em28xx: create a common function for isoc and bulk URB allocation and setup

Rename the existing function for isoc transfers em28xx_init_isoc
to em28xx_init_usb_xfer and extend it.
URB allocation and setup is now done depending on the USB
transfer type, which is selected with a new function parameter.

Signed-off-by: Frank Schäfer <fschaefer.oss@googlemail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/usb/em28xx/em28xx-cards.c
drivers/media/usb/em28xx/em28xx-core.c
drivers/media/usb/em28xx/em28xx.h