diff options
Diffstat (limited to 'drivers/media/video/em28xx')
-rw-r--r-- | drivers/media/video/em28xx/em28xx-video.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/media/video/em28xx/em28xx-video.c b/drivers/media/video/em28xx/em28xx-video.c index 1726b2c26b6c..1c1557d9bace 100644 --- a/drivers/media/video/em28xx/em28xx-video.c +++ b/drivers/media/video/em28xx/em28xx-video.c | |||
@@ -383,12 +383,14 @@ static int em28xx_v4l2_open(struct inode *inode, struct file *filp) | |||
383 | em28xx_capture_start(dev, 1); | 383 | em28xx_capture_start(dev, 1); |
384 | em28xx_resolution_set(dev); | 384 | em28xx_resolution_set(dev); |
385 | 385 | ||
386 | /* device needs to be initialized before isoc transfer */ | ||
387 | video_mux(dev, 0); | ||
388 | |||
386 | /* start the transfer */ | 389 | /* start the transfer */ |
387 | errCode = em28xx_init_isoc(dev); | 390 | errCode = em28xx_init_isoc(dev); |
388 | if (errCode) | 391 | if (errCode) |
389 | goto err; | 392 | goto err; |
390 | 393 | ||
391 | video_mux(dev, 0); | ||
392 | } | 394 | } |
393 | 395 | ||
394 | dev->users++; | 396 | dev->users++; |