Commit c1f0ce22 authored by Manu Abraham's avatar Manu Abraham Committed by Mauro Carvalho Chehab

V4L/DVB (9423): Though insignificant, removes an unnecessary read of the LOCK_LOSS register,

which should have happenend in the DVB-S2 mode only, but reading it as it is
for the other delivery systems causes nothing to say but LOCK_LOST, which
just causes confusion amongst users.
Signed-off-by: default avatarManu Abraham <manu@linuxtv.org>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 0867f571
...@@ -1842,10 +1842,6 @@ static int stb0899_track(struct dvb_frontend *fe, struct dvbfe_params *params, i ...@@ -1842,10 +1842,6 @@ static int stb0899_track(struct dvb_frontend *fe, struct dvbfe_params *params, i
struct stb0899_state *state = fe->demodulator_priv; struct stb0899_state *state = fe->demodulator_priv;
struct stb0899_internal *internal = &state->internal; struct stb0899_internal *internal = &state->internal;
lock_lost = STB0899_READ_S2REG(STB0899_S2DEMOD, LOCK_LOST);
dprintk(verbose, FE_DEBUG, 1, "Lock Lost=[0x%02x]\n", lock_lost);
if (STB0899_GETFIELD(LOCK_LOST, lock_lost))
dprintk(verbose, FE_ERROR, 1, "Demodulator LOST LOCK !\n");
*delay = HZ/10; *delay = HZ/10;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment