lkml.org 
[lkml]   [2011]   [Jan]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[PATCH 1/1] Update stv0900 status when LOCK is missed
    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.



    \
     
     \ /
      Last update: 2011-01-26 09:59    [W:0.025 / U:0.124 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site