diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-08-17 01:03:22 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-08-17 01:03:22 -0300 |
commit | fac62b36a8544d767f1454b136254c114ab6ae9d (patch) | |
tree | c44fe29b734e404f38942ed18c2282c74b038bd2 /linux/drivers/media/video/cafe_ccic.c | |
parent | 09e0adf1930b630c6a3ba69462f86a7fe972b49f (diff) | |
download | mediapointer-dvb-s2-fac62b36a8544d767f1454b136254c114ab6ae9d.tar.gz mediapointer-dvb-s2-fac62b36a8544d767f1454b136254c114ab6ae9d.tar.bz2 |
Turn an unnecessary mdelay() into msleep().
From: Marcelo Tosatti <marcelo@kvack.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/drivers/media/video/cafe_ccic.c')
-rw-r--r-- | linux/drivers/media/video/cafe_ccic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/video/cafe_ccic.c b/linux/drivers/media/video/cafe_ccic.c index b59194332..17b5075bd 100644 --- a/linux/drivers/media/video/cafe_ccic.c +++ b/linux/drivers/media/video/cafe_ccic.c @@ -737,7 +737,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); |