aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Rechberger <mrechberger@gmail.com>2006-02-07 05:49:13 -0500
committerLinus Torvalds <torvalds@g5.osdl.org>2006-03-18 13:52:45 -0500
commit7215fdb214ad8d76c9d667be07f870f0f0544959 (patch)
tree9b6efd33cdceacaf3e488dd78f2d4204c4001afa
parent2d61b86775a5676a8fba2ba2f0f869564e35c630 (diff)
[PATCH] Fixed em28xx based system lockup
Fixed em28xx based system lockup, device needs to be initialized before starting the isoc transfer otherwise the system will completly lock up. Signed-off-by: Markus Rechberger <mrechberger@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r--drivers/media/video/em28xx/em28xx-video.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/media/video/em28xx/em28xx-video.c b/drivers/media/video/em28xx/em28xx-video.c
index 94a14a2bb6d6..5b267808a9d4 100644
--- a/drivers/media/video/em28xx/em28xx-video.c
+++ b/drivers/media/video/em28xx/em28xx-video.c
@@ -367,6 +367,9 @@ static int em28xx_v4l2_open(struct inode *inode, struct file *filp)
367 em28xx_capture_start(dev, 1); 367 em28xx_capture_start(dev, 1);
368 em28xx_resolution_set(dev); 368 em28xx_resolution_set(dev);
369 369
370 /* device needs to be initialized before isoc transfer */
371 video_mux(dev, 0);
372
370 /* start the transfer */ 373 /* start the transfer */
371 errCode = em28xx_init_isoc(dev); 374 errCode = em28xx_init_isoc(dev);
372 if (errCode) 375 if (errCode)