aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/common/tuners/tda827x.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/common/tuners/tda827x.c')
-rw-r--r--drivers/media/common/tuners/tda827x.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/drivers/media/common/tuners/tda827x.c b/drivers/media/common/tuners/tda827x.c
index e180def0a657..a0d176267470 100644
--- a/drivers/media/common/tuners/tda827x.c
+++ b/drivers/media/common/tuners/tda827x.c
@@ -540,9 +540,14 @@ static int tda827xa_set_params(struct dvb_frontend *fe)
540 } 540 }
541 tuner_freq = c->frequency; 541 tuner_freq = c->frequency;
542 542
543 if (fe->ops.info.type == FE_QAM) { 543 switch (c->delivery_system) {
544 case SYS_DVBC_ANNEX_A:
545 case SYS_DVBC_ANNEX_C:
544 dprintk("%s select tda827xa_dvbc\n", __func__); 546 dprintk("%s select tda827xa_dvbc\n", __func__);
545 frequency_map = tda827xa_dvbc; 547 frequency_map = tda827xa_dvbc;
548 break;
549 default:
550 break;
546 } 551 }
547 552
548 i = 0; 553 i = 0;