dvb_core: add SYS_DVBS2 SYS_DVBT2 delsys mode [1/1]
authorYinming Ding <yinming.ding@amlogic.com>
Tue, 16 Apr 2019 09:39:06 +0000 (17:39 +0800)
committerTao Zeng <tao.zeng@amlogic.com>
Thu, 18 Apr 2019 07:26:55 +0000 (00:26 -0700)
PD#SWPL-7017

Problem:
TV can't search DVB/S2/T2

Solution:
add SYS_DVBS2 SYS_DVBT2 delsys mode

Verify:
Verified by R314

Change-Id: I30e39d0c236baebc31622fdd5fe1a8fc18209fe0
Signed-off-by: Yinming Ding <yinming.ding@amlogic.com>
drivers/media/dvb-core/dvb_frontend.c

index e42024d..9869e16 100644 (file)
@@ -1554,7 +1554,8 @@ static bool is_dvbv3_delsys(u32 delsys)
 #ifdef CONFIG_AMLOGIC_MODIFY /* added by Amlogic 20180720 */
        status = (delsys == SYS_DVBT) || (delsys == SYS_DVBC_ANNEX_A) ||
                 (delsys == SYS_DVBS) || (delsys == SYS_ATSC) ||
-                (delsys == SYS_DTMB);
+                (delsys == SYS_DTMB) || (delsys == SYS_DVBS2) ||
+                (delsys == SYS_DVBT2);
 #else
        status = (delsys == SYS_DVBT) || (delsys == SYS_DVBC_ANNEX_A) ||
                 (delsys == SYS_DVBS) || (delsys == SYS_ATSC);