summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Rechberger <mrechberger@gmail.com>2006-02-07 08:49:13 -0200
committerLinus Torvalds <torvalds@g5.osdl.org>2006-03-18 10:52:45 -0800
commit7215fdb214ad8d76c9d667be07f870f0f0544959 (patch)
tree9b6efd33cdceacaf3e488dd78f2d4204c4001afa
parent2d61b86775a5676a8fba2ba2f0f869564e35c630 (diff)
downloadblackbird-op-linux-7215fdb214ad8d76c9d667be07f870f0f0544959.tar.gz
blackbird-op-linux-7215fdb214ad8d76c9d667be07f870f0f0544959.zip
[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)
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)
OpenPOWER on IntegriCloud