From dda86985145ba5eb5349033b1d01adf7d23cc325 Mon Sep 17 00:00:00 2001 From: none Date: Thu, 18 Mar 2021 10:45:53 +0100 Subject: [PATCH] add timeout status --- ddbridge/ddbridge-sx8.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ddbridge/ddbridge-sx8.c b/ddbridge/ddbridge-sx8.c index 27ee012..d419573 100644 --- a/ddbridge/ddbridge-sx8.c +++ b/ddbridge/ddbridge-sx8.c @@ -159,6 +159,8 @@ static int read_status(struct dvb_frontend *fe, enum fe_status *status) } mutex_unlock(&mci_base->tuner_lock); } + } else if (res.status == MCI_DEMOD_TIMEOUT) + *status = FE_TIMEDOUT; else if (res.status >= SX8_DEMOD_WAIT_MATYPE) *status = FE_HAS_SYNC | FE_HAS_VITERBI | FE_HAS_CARRIER | FE_HAS_SIGNAL; unlock: