Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 4313
b: refs/heads/master
c: 48e4cc2
h: refs/heads/master
i:
  4311: 7850726
v: v3
  • Loading branch information
Johannes Stezenbach authored and Linus Torvalds committed Jul 8, 2005
1 parent 57ff3b4 commit 0ce518c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 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: 80064b803de140a65ca82bba5f0c40309b5a9f5e
refs/heads/master: 48e4cc2d210e817e808ac9db598ce3fb5d09c205
8 changes: 4 additions & 4 deletions trunk/drivers/media/dvb/frontends/stv0297.c
Original file line number Diff line number Diff line change
Expand Up @@ -617,7 +617,7 @@ static int stv0297_set_frontend(struct dvb_frontend *fe, struct dvb_frontend_par

/* wait for WGAGC lock */
starttime = jiffies;
timeout = jiffies + (200 * HZ) / 1000;
timeout = jiffies + msecs_to_jiffies(2000);
while (time_before(jiffies, timeout)) {
msleep(10);
if (stv0297_readreg(state, 0x43) & 0x08)
Expand All @@ -629,7 +629,7 @@ static int stv0297_set_frontend(struct dvb_frontend *fe, struct dvb_frontend_par
msleep(20);

/* wait for equaliser partial convergence */
timeout = jiffies + (50 * HZ) / 1000;
timeout = jiffies + msecs_to_jiffies(500);
while (time_before(jiffies, timeout)) {
msleep(10);

Expand All @@ -642,7 +642,7 @@ static int stv0297_set_frontend(struct dvb_frontend *fe, struct dvb_frontend_par
}

/* wait for equaliser full convergence */
timeout = jiffies + (delay * HZ) / 1000;
timeout = jiffies + msecs_to_jiffies(delay);
while (time_before(jiffies, timeout)) {
msleep(10);

Expand All @@ -659,7 +659,7 @@ static int stv0297_set_frontend(struct dvb_frontend *fe, struct dvb_frontend_par
stv0297_writereg_mask(state, 0x88, 8, 0);

/* wait for main lock */
timeout = jiffies + (20 * HZ) / 1000;
timeout = jiffies + msecs_to_jiffies(20);
while (time_before(jiffies, timeout)) {
msleep(10);

Expand Down

0 comments on commit 0ce518c

Please sign in to comment.