Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7215fdb2 authored by Markus Rechberger's avatar Markus Rechberger Committed by Linus Torvalds
Browse files

[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: default avatarMarkus Rechberger <mrechberger@gmail.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@infradead.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 2d61b867
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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)