V4L/DVB (6028): Turn an unnecessary mdelay() into msleep().
authorMarcelo Tosatti <marcelo@kvack.org>
Fri, 17 Aug 2007 04:03:22 +0000 (01:03 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Mon, 20 Aug 2007 15:18:05 +0000 (12:18 -0300)
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/cafe_ccic.c

index acf64b19730e18661752040ab2d99412b1a6916e..ef5361824f878f01266567839226871cb07a89f9 100644 (file)
@@ -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);