diff options
author | Markus Rechberger <mrechberger@gmail.com> | 2006-02-07 08:49:13 -0200 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-18 10:52:45 -0800 |
commit | 7215fdb214ad8d76c9d667be07f870f0f0544959 (patch) | |
tree | 9b6efd33cdceacaf3e488dd78f2d4204c4001afa /drivers | |
parent | 2d61b86775a5676a8fba2ba2f0f869564e35c630 (diff) | |
download | op-kernel-dev-7215fdb214ad8d76c9d667be07f870f0f0544959.zip op-kernel-dev-7215fdb214ad8d76c9d667be07f870f0f0544959.tar.gz |
[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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/media/video/em28xx/em28xx-video.c | 3 |
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 94a14a2..5b26780 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) |