From d74a1a97f96d0d3c05b270318538cecb7e9fa472 Mon Sep 17 00:00:00 2001 From: Malcolm Priestley Date: Sun, 6 Mar 2011 13:37:00 -0300 Subject: [PATCH] --- yaml --- r: 242143 b: refs/heads/master c: b50b3a1acd22a07e354a154e5d00a9d338446b77 h: refs/heads/master i: 242141: 18a2dab85431f8f628f0116767524c661d07ba70 242139: 2c9c4f9647ac422d6f04e4cd1d2594a5fb46c6cf 242135: 5b56df014d97512b07ffcd408096ab0f8540e1ee 242127: 0190bffb48a40709518bad95b04327f1843365ad 242111: bf5ced2e5fc24378ac66e46547b1240097f2ec0b v: v3 --- [refs] | 2 +- trunk/drivers/media/dvb/frontends/stv0288.c | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index a44e2b4c244e..c9f14168065e 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 590f21680616a78f7d6972b92ceb540e306452c1 +refs/heads/master: b50b3a1acd22a07e354a154e5d00a9d338446b77 diff --git a/trunk/drivers/media/dvb/frontends/stv0288.c b/trunk/drivers/media/dvb/frontends/stv0288.c index 63db8fd2754c..e3fe17fd96fb 100644 --- a/trunk/drivers/media/dvb/frontends/stv0288.c +++ b/trunk/drivers/media/dvb/frontends/stv0288.c @@ -367,8 +367,11 @@ static int stv0288_read_status(struct dvb_frontend *fe, fe_status_t *status) dprintk("%s : FE_READ_STATUS : VSTATUS: 0x%02x\n", __func__, sync); *status = 0; - - if ((sync & 0x08) == 0x08) { + if (sync & 0x80) + *status |= FE_HAS_CARRIER | FE_HAS_SIGNAL; + if (sync & 0x10) + *status |= FE_HAS_VITERBI; + if (sync & 0x08) { *status |= FE_HAS_LOCK; dprintk("stv0288 has locked\n"); }