aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorManu Abraham <abraham.manu@gmail.com>2007-10-15 13:39:58 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-12-29 14:53:18 -0500
commitc1f0ce22283f983f1840c0594d7ad869a51b25b7 (patch)
treec7821adce249bab3819f367ec86bdc3eca839482
parent0867f571858043c761e3e44bd4f2bcc70f82bb27 (diff)
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: Manu Abraham <manu@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r--drivers/media/dvb/frontends/stb0899_drv.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/media/dvb/frontends/stb0899_drv.c b/drivers/media/dvb/frontends/stb0899_drv.c
index 6e6373002b6c..b76bb494e15a 100644
--- a/drivers/media/dvb/frontends/stb0899_drv.c
+++ b/drivers/media/dvb/frontends/stb0899_drv.c
@@ -1842,10 +1842,6 @@ static int stb0899_track(struct dvb_frontend *fe, struct dvbfe_params *params, i
1842 struct stb0899_state *state = fe->demodulator_priv; 1842 struct stb0899_state *state = fe->demodulator_priv;
1843 struct stb0899_internal *internal = &state->internal; 1843 struct stb0899_internal *internal = &state->internal;
1844 1844
1845 lock_lost = STB0899_READ_S2REG(STB0899_S2DEMOD, LOCK_LOST);
1846 dprintk(verbose, FE_DEBUG, 1, "Lock Lost=[0x%02x]\n", lock_lost);
1847 if (STB0899_GETFIELD(LOCK_LOST, lock_lost))
1848 dprintk(verbose, FE_ERROR, 1, "Demodulator LOST LOCK !\n");
1849 1845
1850 *delay = HZ/10; 1846 *delay = HZ/10;
1851 1847