Skip to content

Commit

Permalink
[PATCH] Fixed em28xx based system lockup
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Markus Rechberger authored and Linus Torvalds committed Mar 18, 2006
1 parent 2d61b86 commit 7215fdb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions drivers/media/video/em28xx/em28xx-video.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 7215fdb

Please sign in to comment.