diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-07-17 16:15:58 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-07-20 17:35:47 -0300 |
commit | a2d66a37c743ba201e85c93c4ec29d58ca94b728 (patch) | |
tree | d33348f5f4c5619cabf951b89d2bbae7026bed8e /drivers/media/radio/radio-aimslab.c | |
parent | 7809b4cba2bc0165c804ab4eaf10308aad14fc8e (diff) | |
download | blackbird-op-linux-a2d66a37c743ba201e85c93c4ec29d58ca94b728.tar.gz blackbird-op-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-aimslab.c')
-rw-r--r-- | drivers/media/radio/radio-aimslab.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/radio/radio-aimslab.c b/drivers/media/radio/radio-aimslab.c index ce940b1b787f..f0a67e93d7fd 100644 --- a/drivers/media/radio/radio-aimslab.c +++ b/drivers/media/radio/radio-aimslab.c @@ -63,7 +63,7 @@ struct rt_device static void sleep_delay(long n) { /* Sleep nicely for 'n' uS */ - int d=n/(1000000/HZ); + int d=n/msecs_to_jiffies(1000); if(!d) udelay(n); else |