summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb
diff options
context:
space:
mode:
authorManu Abraham <manu@linuxtv.org>2007-09-29 02:06:06 +0400
committerManu Abraham <manu@linuxtv.org>2007-09-29 02:06:06 +0400
commit2f865ac502e70aeecc2151c859f2127ecfc4b555 (patch)
treef602dcffac2677ce3db9bc7a4027c97533b1d44a /linux/drivers/media/dvb
parentf1ccdcf99d9319cfca38cf3a55e6be98b99d62e9 (diff)
downloadmediapointer-dvb-s2-2f865ac502e70aeecc2151c859f2127ecfc4b555.tar.gz
mediapointer-dvb-s2-2f865ac502e70aeecc2151c859f2127ecfc4b555.tar.bz2
Debug: We need to check for tuner LOCK LOSS,
especially in the case of simple PLL's From: Manu Abraham <abraham.manu@gmail.com> Signed-off-by: Manu Abraham <manu@linuxtv.org>
Diffstat (limited to 'linux/drivers/media/dvb')
-rw-r--r--linux/drivers/media/dvb/frontends/tda8261.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/linux/drivers/media/dvb/frontends/tda8261.c b/linux/drivers/media/dvb/frontends/tda8261.c
index a6cd2b362..9cbd511d7 100644
--- a/linux/drivers/media/dvb/frontends/tda8261.c
+++ b/linux/drivers/media/dvb/frontends/tda8261.c
@@ -73,6 +73,8 @@ static int tda8261_get_status(struct dvb_frontend *fe, u32 *status)
u8 result = 0;
int err = 0;
+ *status = 0;
+
if ((err = tda8261_read(state, &result)) < 0) {
printk("%s: I/O Error\n", __func__);
return err;
@@ -184,6 +186,7 @@ static struct dvb_tuner_ops tda8261_ops = {
.set_state = tda8261_set_state,
.get_state = tda8261_get_state,
+ .get_status = tda8261_get_status,
.release = tda8261_release
};