summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/bt866.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2007-07-17 16:25:38 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-07-20 17:35:49 -0300
commit09df5cbe46511611410274f09571ada229231ddb (patch)
tree57a20892604a12785a883654c248b95d096c47b9 /drivers/media/video/bt866.c
parenta2d66a37c743ba201e85c93c4ec29d58ca94b728 (diff)
downloadlinux-09df5cbe46511611410274f09571ada229231ddb.tar.bz2
V4L/DVB (5858): Use msecs_to_jiffies instead of HZ on media/video I2C drivers
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/bt866.c')
-rw-r--r--drivers/media/video/bt866.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/bt866.c b/drivers/media/video/bt866.c
index 2e4cf1efdd21..b767b098d14b 100644
--- a/drivers/media/video/bt866.c
+++ b/drivers/media/video/bt866.c
@@ -257,7 +257,7 @@ static int bt866_write(struct bt866 *encoder,
printk(KERN_WARNING "%s: I/O error #%d "
"(write 0x%02x/0x%02x)\n",
encoder->i2c->name, err, encoder->addr, subaddr);
- schedule_timeout_interruptible(HZ/10);
+ schedule_timeout_interruptible(msecs_to_jiffies(100));
}
if (err == 3) {
printk(KERN_WARNING "%s: giving up\n",