dvb: fix can't set frontend and get DTV_TS_INPUT

PD#163384: dvb: fix can't set frontend and get DTV_TS_INPUT

Change-Id: I5143aa3b653207901bbb940e6a70e66e2ac741af
Signed-off-by: Cheng Tong <cheng.tong@amlogic.com>
This commit is contained in:
Cheng Tong
2018-04-09 19:02:28 +08:00
committed by Yixun Lan
parent 031723c7bd
commit 67157a752c

View File

@@ -1513,6 +1513,7 @@ static int dtv_property_process_get(struct dvb_frontend *fe,
break;
#ifdef CONFIG_AMLOGIC_DVB_COMPAT
case DTV_DELIVERY_SUB_SYSTEM:
case DTV_TS_INPUT:
r = 0;
//printk("dvb-core get sub sys\r\n");
break;
@@ -2200,6 +2201,8 @@ static int dtv_set_frontend(struct dvb_frontend *fe)
/* Request the search algorithm to search */
fepriv->algo_status |= DVBFE_ALGO_SEARCH_AGAIN;
if (fe->ops.set_frontend)
fe->ops.set_frontend(fe);
dvb_frontend_clear_events(fe);
dvb_frontend_add_event(fe, 0);
dvb_frontend_wakeup(fe);