mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 04:10:18 +09:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user