From: Abylay Ospan Date: Mon, 14 Feb 2011 19:03:13 +0000 (-0300) Subject: [media] stv0900: Update status when LOCK is missed X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=3b30e0a871389eda9034084faec67d43478fb4c0;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git [media] stv0900: Update status when LOCK is missed Signed-off-by: Abylay Ospan Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/dvb/frontends/stv0900_core.c b/drivers/media/dvb/frontends/stv0900_core.c index 0d9b456d34fc..0ca316d6fffa 100644 --- a/drivers/media/dvb/frontends/stv0900_core.c +++ b/drivers/media/dvb/frontends/stv0900_core.c @@ -1666,6 +1666,7 @@ static int stv0900_read_status(struct dvb_frontend *fe, enum fe_status *status) if (state->config->set_lock_led) state->config->set_lock_led(fe, 1); } else { + *status = 0; if (state->config->set_lock_led) state->config->set_lock_led(fe, 0); dprintk("DEMOD LOCK FAIL\n");