From: nengwen.chen Date: Mon, 12 Nov 2018 12:44:35 +0000 (+0800) Subject: dtv_demod: DTV search menu does not have ISDB-T entry [4/6] X-Git-Tag: khadas-vims-v0.9.6-release~1036 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3619f029dcf96f67872c54b056fd80e1bb64320f;p=platform%2Fkernel%2Flinux-amlogic.git 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 --- diff --git a/drivers/amlogic/media/dtv_demod/amlfrontend.c b/drivers/amlogic/media/dtv_demod/amlfrontend.c index 8337e0b..48db221 100644 --- a/drivers/amlogic/media/dtv_demod/amlfrontend.c +++ b/drivers/amlogic/media/dtv_demod/amlfrontend.c @@ -3561,12 +3561,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 @@ -4150,7 +4153,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