From c95d2a912ec8eedc855cd41a66fdb547c2065b27 Mon Sep 17 00:00:00 2001 From: "nengwen.chen" Date: Mon, 12 Nov 2018 20:44:35 +0800 Subject: [PATCH] dtv_demod: DTV search menu does not have ISDB-T entry [4/6] PD#SWPL-1664 Problem: DTV search menu does not have ISDB-T entry Solution: add ISDB-T system support. Verify: verified by einstein Change-Id: Ie0bdc988d53256487e24c3123320b50f2a58cdf3 Signed-off-by: nengwen.chen --- drivers/amlogic/media/dtv_demod/amlfrontend.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/amlogic/media/dtv_demod/amlfrontend.c b/drivers/amlogic/media/dtv_demod/amlfrontend.c index bb71842..f44566a 100644 --- a/drivers/amlogic/media/dtv_demod/amlfrontend.c +++ b/drivers/amlogic/media/dtv_demod/amlfrontend.c @@ -3932,12 +3932,15 @@ static int delsys_set(struct dvb_frontend *fe, unsigned int delsys) PR_INFO("info type:%d", fe->ops.info.type); if (mode == AM_FE_ATSC_N) fe->ops.info.type = FE_ATSC; - else if (mode == AM_FE_OFDM_N || mode == AM_FE_ISDBT_N) + else if (mode == AM_FE_OFDM_N) fe->ops.info.type = FE_OFDM; else if (mode == AM_FE_DTMB_N) fe->ops.info.type = FE_DTMB; else if (mode == AM_FE_QAM_N) fe->ops.info.type = FE_QAM; + else if (mode == AM_FE_ISDBT_N) + fe->ops.info.type = FE_ISDBT; + fe->ops.tuner_ops.set_config(fe, NULL); #endif @@ -4522,7 +4525,7 @@ static struct dvb_frontend_ops aml_dtvdm_txl_ops = { static struct dvb_frontend_ops aml_dtvdm_txlx_ops = { #ifdef CONFIG_AMLOGIC_DVB_COMPAT .delsys = { SYS_ATSC, SYS_DVBC_ANNEX_B, SYS_DVBC_ANNEX_A, SYS_DVBT, - SYS_ANALOG}, + SYS_ANALOG, SYS_ISDBT}, #else .delsys = { SYS_ATSC, SYS_DVBC_ANNEX_B, SYS_DVBC_ANNEX_A, SYS_DVBT}, #endif -- 2.7.4