]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
V4L/DVB (9423): Though insignificant, removes an unnecessary read of the LOCK_LOSS...
authorManu Abraham <abraham.manu@gmail.com>
Mon, 15 Oct 2007 17:39:58 +0000 (14:39 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 29 Dec 2008 19:53:18 +0000 (17:53 -0200)
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: Manu Abraham <manu@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/frontends/stb0899_drv.c

index 6e6373002b6c4210dce0967ecf7dce40f99877e4..b76bb494e15ab18eb8bd79e45c23c9192863d1b8 100644 (file)
@@ -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_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;