diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-07-17 15:25:38 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-07-20 16:35:49 -0400 |
commit | 09df5cbe46511611410274f09571ada229231ddb (patch) | |
tree | 57a20892604a12785a883654c248b95d096c47b9 /drivers/media/video/bt866.c | |
parent | a2d66a37c743ba201e85c93c4ec29d58ca94b728 (diff) |
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.c | 2 |
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, | |||
257 | printk(KERN_WARNING "%s: I/O error #%d " | 257 | printk(KERN_WARNING "%s: I/O error #%d " |
258 | "(write 0x%02x/0x%02x)\n", | 258 | "(write 0x%02x/0x%02x)\n", |
259 | encoder->i2c->name, err, encoder->addr, subaddr); | 259 | encoder->i2c->name, err, encoder->addr, subaddr); |
260 | schedule_timeout_interruptible(HZ/10); | 260 | schedule_timeout_interruptible(msecs_to_jiffies(100)); |
261 | } | 261 | } |
262 | if (err == 3) { | 262 | if (err == 3) { |
263 | printk(KERN_WARNING "%s: giving up\n", | 263 | printk(KERN_WARNING "%s: giving up\n", |