diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-07-17 21:15:58 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-07-20 22:35:47 +0200 |
commit | a2d66a37c743ba201e85c93c4ec29d58ca94b728 (patch) | |
tree | d33348f5f4c5619cabf951b89d2bbae7026bed8e /drivers/media/radio/radio-cadet.c | |
parent | V4L/DVB (5855): ivtv: fix Kconfig typo and refer to the driver homepage. (diff) | |
download | linux-a2d66a37c743ba201e85c93c4ec29d58ca94b728.tar.xz linux-a2d66a37c743ba201e85c93c4ec29d58ca94b728.zip |
V4L/DVB (5857): Use msecs_to_jiffies instead of HZ on radio drivers
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/radio/radio-cadet.c')
-rw-r--r-- | drivers/media/radio/radio-cadet.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/radio/radio-cadet.c b/drivers/media/radio/radio-cadet.c index 8cf2e9df5c8a..34e317ced5a3 100644 --- a/drivers/media/radio/radio-cadet.c +++ b/drivers/media/radio/radio-cadet.c @@ -329,7 +329,7 @@ cadet_handler(unsigned long data) init_timer(&readtimer); readtimer.function=cadet_handler; readtimer.data=(unsigned long)0; - readtimer.expires=jiffies+(HZ/20); + readtimer.expires=jiffies+msecs_to_jiffies(50); add_timer(&readtimer); } @@ -349,7 +349,7 @@ cadet_read(struct file *file, char __user *data, size_t count, loff_t *ppos) init_timer(&readtimer); readtimer.function=cadet_handler; readtimer.data=(unsigned long)0; - readtimer.expires=jiffies+(HZ/20); + readtimer.expires=jiffies+msecs_to_jiffies(50); add_timer(&readtimer); } if(rdsin==rdsout) { |