aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/dvb/dvb-core/dvb_frontend.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/media/dvb/dvb-core/dvb_frontend.c b/drivers/media/dvb/dvb-core/dvb_frontend.c
index b15db4fe347..2ad7faf4529 100644
--- a/drivers/media/dvb/dvb-core/dvb_frontend.c
+++ b/drivers/media/dvb/dvb-core/dvb_frontend.c
@@ -1413,6 +1413,15 @@ static int set_delivery_system(struct dvb_frontend *fe, u32 desired_system)
1413 struct dtv_frontend_properties *c = &fe->dtv_property_cache; 1413 struct dtv_frontend_properties *c = &fe->dtv_property_cache;
1414 enum dvbv3_emulation_type type; 1414 enum dvbv3_emulation_type type;
1415 1415
1416 /*
1417 * It was reported that some old DVBv5 applications were
1418 * filling delivery_system with SYS_UNDEFINED. If this happens,
1419 * assume that the application wants to use the first supported
1420 * delivery system.
1421 */
1422 if (c->delivery_system == SYS_UNDEFINED)
1423 c->delivery_system = fe->ops.delsys[0];
1424
1416 if (desired_system == SYS_UNDEFINED) { 1425 if (desired_system == SYS_UNDEFINED) {
1417 /* 1426 /*
1418 * A DVBv3 call doesn't know what's the desired system. 1427 * A DVBv3 call doesn't know what's the desired system.