Commit 4628f993 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab

[media] as102: add missing viterbi lock

In order to get FE_HAS_SYNC, the viterbi should already be
locked too. So, add the missing FE_HAS_VITERBI lock.
Signed-off-by: default avatarMauro Carvalho Chehab <m.chehab@samsung.com>
parent dcae7781
...@@ -325,11 +325,12 @@ static int as102_fe_read_status(struct dvb_frontend *fe, fe_status_t *status) ...@@ -325,11 +325,12 @@ static int as102_fe_read_status(struct dvb_frontend *fe, fe_status_t *status)
*status = FE_HAS_SIGNAL | FE_HAS_CARRIER; *status = FE_HAS_SIGNAL | FE_HAS_CARRIER;
break; break;
case TUNE_STATUS_STREAM_DETECTED: case TUNE_STATUS_STREAM_DETECTED:
*status = FE_HAS_SIGNAL | FE_HAS_CARRIER | FE_HAS_SYNC; *status = FE_HAS_SIGNAL | FE_HAS_CARRIER | FE_HAS_SYNC |
FE_HAS_VITERBI;
break; break;
case TUNE_STATUS_STREAM_TUNED: case TUNE_STATUS_STREAM_TUNED:
*status = FE_HAS_SIGNAL | FE_HAS_CARRIER | FE_HAS_SYNC | *status = FE_HAS_SIGNAL | FE_HAS_CARRIER | FE_HAS_SYNC |
FE_HAS_LOCK; FE_HAS_LOCK | FE_HAS_VITERBI;
break; break;
default: default:
*status = TUNE_STATUS_NOT_TUNED; *status = TUNE_STATUS_NOT_TUNED;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment