mirror of
https://github.com/DigitalDevices/dddvb.git
synced 2023-10-10 13:37:43 +02:00
correct status check order
This commit is contained in:
parent
27601b4769
commit
e55dcd2fd2
@ -2203,12 +2203,13 @@ static int tune(struct dvb_frontend *fe, bool re_tune,
|
|||||||
state->tune_time = jiffies;
|
state->tune_time = jiffies;
|
||||||
|
|
||||||
}
|
}
|
||||||
if (*status & FE_HAS_LOCK)
|
|
||||||
return 0;
|
|
||||||
/* *delay = 50; */
|
|
||||||
r = read_status(fe, status);
|
r = read_status(fe, status);
|
||||||
if (r)
|
if (r)
|
||||||
return r;
|
return r;
|
||||||
|
if (*status & FE_HAS_LOCK) {
|
||||||
|
*delay = HZ;
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user