mirror of
https://github.com/DigitalDevices/dddvb.git
synced 2025-03-01 10:35:23 +00:00
change lock check order
This commit is contained in:
parent
f404b3fb6d
commit
7222bd58b3
@ -1535,13 +1535,13 @@ static int tune(struct dvb_frontend *fe, bool re_tune,
|
|||||||
return r;
|
return r;
|
||||||
state->tune_time = jiffies;
|
state->tune_time = jiffies;
|
||||||
}
|
}
|
||||||
if (*status & FE_HAS_LOCK)
|
|
||||||
return 0;
|
|
||||||
*delay = HZ;
|
|
||||||
|
|
||||||
r = read_status(fe, status);
|
r = read_status(fe, status);
|
||||||
if (r)
|
if (r)
|
||||||
return r;
|
return r;
|
||||||
|
|
||||||
|
if (*status & FE_HAS_LOCK)
|
||||||
|
return 0;
|
||||||
|
*delay = HZ / 10;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user