]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] Fixed em28xx based system lockup
authorMarkus Rechberger <mrechberger@gmail.com>
Tue, 7 Feb 2006 10:49:13 +0000 (08:49 -0200)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sat, 18 Mar 2006 18:52:45 +0000 (10:52 -0800)
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>
drivers/media/video/em28xx/em28xx-video.c

index 94a14a2bb6d6cee222172f6cabddbf406d53dc21..5b267808a9d4a3d169e7847601bc3d5b9425e65a 100644 (file)
@@ -367,6 +367,9 @@ static int em28xx_v4l2_open(struct inode *inode, struct file *filp)
        em28xx_capture_start(dev, 1);
        em28xx_resolution_set(dev);
 
+       /* device needs to be initialized before isoc transfer */
+       video_mux(dev, 0);
+
        /* start the transfer */
        errCode = em28xx_init_isoc(dev);
        if (errCode)