1
0
mirror of https://github.com/DigitalDevices/dddvb.git synced 2023-10-10 13:37:43 +02:00

add timeout status

This commit is contained in:
none 2021-03-18 10:45:53 +01:00
parent fc9a89c870
commit dda8698514

View File

@ -159,6 +159,8 @@ static int read_status(struct dvb_frontend *fe, enum fe_status *status)
} }
mutex_unlock(&mci_base->tuner_lock); mutex_unlock(&mci_base->tuner_lock);
} }
} else if (res.status == MCI_DEMOD_TIMEOUT)
*status = FE_TIMEDOUT;
else if (res.status >= SX8_DEMOD_WAIT_MATYPE) else if (res.status >= SX8_DEMOD_WAIT_MATYPE)
*status = FE_HAS_SYNC | FE_HAS_VITERBI | FE_HAS_CARRIER | FE_HAS_SIGNAL; *status = FE_HAS_SYNC | FE_HAS_VITERBI | FE_HAS_CARRIER | FE_HAS_SIGNAL;
unlock: unlock: