forked from Minki/linux
V4L/DVB (6028): Turn an unnecessary mdelay() into msleep().
Signed-off-by: Jonathan Corbet <corbet@lwn.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
This commit is contained in:
parent
6d77444aca
commit
70cd685d4b
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user