aboutsummaryrefslogtreecommitdiff
path: root/drivers/media/usb/em28xx/em28xx-video.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/usb/em28xx/em28xx-video.c')
-rw-r--r--drivers/media/usb/em28xx/em28xx-video.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/drivers/media/usb/em28xx/em28xx-video.c b/drivers/media/usb/em28xx/em28xx-video.c
index d61d4dcca626..a5c1a42f3923 100644
--- a/drivers/media/usb/em28xx/em28xx-video.c
+++ b/drivers/media/usb/em28xx/em28xx-video.c
@@ -763,17 +763,17 @@ buffer_prepare(struct videobuf_queue *vq, struct videobuf_buffer *vb,
if (urb_init) {
if (em28xx_vbi_supported(dev) == 1)
- rc = em28xx_init_isoc(dev, EM28XX_ANALOG_MODE,
- EM28XX_NUM_ISOC_PACKETS,
- EM28XX_NUM_BUFS,
- dev->max_pkt_size,
- em28xx_isoc_copy_vbi);
+ rc = em28xx_init_usb_xfer(dev, EM28XX_ANALOG_MODE, 0,
+ EM28XX_NUM_BUFS,
+ dev->max_pkt_size,
+ EM28XX_NUM_ISOC_PACKETS,
+ em28xx_isoc_copy_vbi);
else
- rc = em28xx_init_isoc(dev, EM28XX_ANALOG_MODE,
- EM28XX_NUM_ISOC_PACKETS,
- EM28XX_NUM_BUFS,
- dev->max_pkt_size,
- em28xx_isoc_copy);
+ rc = em28xx_init_usb_xfer(dev, EM28XX_ANALOG_MODE, 0,
+ EM28XX_NUM_BUFS,
+ dev->max_pkt_size,
+ EM28XX_NUM_ISOC_PACKETS,
+ em28xx_isoc_copy);
if (rc < 0)
goto fail;
}