Skip to content

Commit

Permalink
V4L/DVB (6028): Turn an unnecessary mdelay() into msleep().
Browse files Browse the repository at this point in the history
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
  • Loading branch information
Marcelo Tosatti authored and Mauro Carvalho Chehab committed Aug 20, 2007
1 parent 6d77444 commit 70cd685
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/media/video/cafe_ccic.c
Original file line number Diff line number Diff line change
Expand Up @@ -730,7 +730,7 @@ static void cafe_ctlr_init(struct cafe_camera *cam)
* Here we must wait a bit for the controller to come around.
*/
spin_unlock_irqrestore(&cam->dev_lock, flags);
mdelay(5); /* FIXME revisit this */
msleep(5);
spin_lock_irqsave(&cam->dev_lock, flags);

cafe_reg_write(cam, REG_GL_CSR, GCSR_CCIC_EN|GCSR_SRC|GCSR_MRC);
Expand Down

0 comments on commit 70cd685

Please sign in to comment.