diff mbox

[10/10] Add missing viterbi lock

Message ID 1407880224-374-11-git-send-email-m.chehab@samsung.com (mailing list archive)
State New, archived
Headers show

Commit Message

Mauro Carvalho Chehab Aug. 12, 2014, 9:50 p.m. UTC
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
---
 drivers/media/dvb-frontends/as102_fe.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
diff mbox

Patch

diff --git a/drivers/media/dvb-frontends/as102_fe.c b/drivers/media/dvb-frontends/as102_fe.c
index b272e4ea1860..ef4c3c667782 100644
--- a/drivers/media/dvb-frontends/as102_fe.c
+++ b/drivers/media/dvb-frontends/as102_fe.c
@@ -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;
 		break;
 	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;
 	case TUNE_STATUS_STREAM_TUNED:
 		*status = FE_HAS_SIGNAL | FE_HAS_CARRIER | FE_HAS_SYNC |
-			FE_HAS_LOCK;
+			  FE_HAS_LOCK | FE_HAS_VITERBI;
 		break;
 	default:
 		*status = TUNE_STATUS_NOT_TUNED;