Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 62273
b: refs/heads/master
c: a2d66a3
h: refs/heads/master
i:
  62271: 71ea3c3
v: v3
  • Loading branch information
Mauro Carvalho Chehab committed Jul 20, 2007
1 parent a548dae commit 5b7d65e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7809b4cba2bc0165c804ab4eaf10308aad14fc8e
refs/heads/master: a2d66a37c743ba201e85c93c4ec29d58ca94b728
2 changes: 1 addition & 1 deletion trunk/drivers/media/radio/radio-aimslab.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions trunk/drivers/media/radio/radio-cadet.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand All @@ -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) {
Expand Down

0 comments on commit 5b7d65e

Please sign in to comment.