public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/1] Update stv0900 status when LOCK is missed
  2011-01-25 20:07 [PATCH 8/9 v3] cx23885: disable MSI for NetUP cards, otherwise CI is not working Igor M. Liplianin
@ 2011-01-26  8:54 ` Abylay Ospan
  0 siblings, 0 replies; 2+ messages in thread
From: Abylay Ospan @ 2011-01-26  8:54 UTC (permalink / raw)
  To: Igor M. Liplianin; +Cc: mchehab, linux-media, linux-kernel

Update stv0900 status when LOCK is missed

Signed-off-by: Abylay Ospan <aospan@netup.ru>
---
  drivers/media/dvb/frontends/stv0900_core.c |    4 +++-
  1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/drivers/media/dvb/frontends/stv0900_core.c 
b/drivers/media/dvb/frontends/stv0900_core.c
index 4f5e7d3..34afcc6 100644
--- a/drivers/media/dvb/frontends/stv0900_core.c
+++ b/drivers/media/dvb/frontends/stv0900_core.c
@@ -1660,8 +1660,10 @@ static int stv0900_read_status(struct 
dvb_frontend *fe, enum fe_status *status)
                         | FE_HAS_VITERBI
                         | FE_HAS_SYNC
                         | FE_HAS_LOCK;
-       } else
+       } else {
+               *status = 0;
                 dprintk("DEMOD LOCK FAIL\n");
+       }

         return 0;
  }
--
1.7.2.1.95.g3d045

-- 
Abylai Ospan<aospan@netup.ru>
NetUP Inc.


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [PATCH 1/1] Update stv0900 status when LOCK is missed
@ 2011-02-14 19:03 Abylay Ospan
  0 siblings, 0 replies; 2+ messages in thread
From: Abylay Ospan @ 2011-02-14 19:03 UTC (permalink / raw)
  To: linux-media, Mauro Carvalho Chehab, Igor M. Liplianin

Update stv0900 status when LOCK is missed

Signed-off-by: Abylay Ospan <aospan@netup.ru>
---
  drivers/media/dvb/frontends/stv0900_core.c |    4 +++-
  1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/drivers/media/dvb/frontends/stv0900_core.c 
b/drivers/media/dvb/frontends/stv0900_core.c
index 4f5e7d3..34afcc6 100644
--- a/drivers/media/dvb/frontends/stv0900_core.c
+++ b/drivers/media/dvb/frontends/stv0900_core.c
@@ -1660,8 +1660,10 @@ static int stv0900_read_status(struct 
dvb_frontend *fe, enum fe_status *status)
                         | FE_HAS_VITERBI
                         | FE_HAS_SYNC
                         | FE_HAS_LOCK;
-       } else
+       } else {
+               *status = 0;
                 dprintk("DEMOD LOCK FAIL\n");
+       }

         return 0;
  }
-- 
1.7.2.1.95.g3d045

-- 
Abylai Ospan<aospan@netup.ru>
NetUP Inc.


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-02-14 19:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-14 19:03 [PATCH 1/1] Update stv0900 status when LOCK is missed Abylay Ospan
  -- strict thread matches above, loose matches on Subject: below --
2011-01-25 20:07 [PATCH 8/9 v3] cx23885: disable MSI for NetUP cards, otherwise CI is not working Igor M. Liplianin
2011-01-26  8:54 ` [PATCH 1/1] Update stv0900 status when LOCK is missed Abylay Ospan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox