diff options
| author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2008-12-20 04:54:54 -0500 | 
|---|---|---|
| committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2008-12-20 04:54:54 -0500 | 
| commit | 93b8eef1c098efbea2f1fc0be7e3c681f259a7e7 (patch) | |
| tree | 462cc8c2bc07bbc825dab2a200891a28d8643329 /drivers/media/dvb/dvb-core/dvb_frontend.c | |
| parent | a2d781fc8d9b16113dd9440107d73c0f21d7cbef (diff) | |
| parent | 929096fe9ff1f4b3645cf3919527ab47e8d5e17c (diff) | |
| download | olio-linux-3.10-93b8eef1c098efbea2f1fc0be7e3c681f259a7e7.tar.xz olio-linux-3.10-93b8eef1c098efbea2f1fc0be7e3c681f259a7e7.zip  | |
Merge commit 'v2.6.28-rc9' into next
Diffstat (limited to 'drivers/media/dvb/dvb-core/dvb_frontend.c')
| -rw-r--r-- | drivers/media/dvb/dvb-core/dvb_frontend.c | 7 | 
1 files changed, 6 insertions, 1 deletions
diff --git a/drivers/media/dvb/dvb-core/dvb_frontend.c b/drivers/media/dvb/dvb-core/dvb_frontend.c index 5689d1f1d44..7a421e9dba5 100644 --- a/drivers/media/dvb/dvb-core/dvb_frontend.c +++ b/drivers/media/dvb/dvb-core/dvb_frontend.c @@ -223,6 +223,8 @@ static void dvb_frontend_init(struct dvb_frontend *fe)  	if (fe->ops.init)  		fe->ops.init(fe);  	if (fe->ops.tuner_ops.init) { +		if (fe->ops.i2c_gate_ctrl) +			fe->ops.i2c_gate_ctrl(fe, 1);  		fe->ops.tuner_ops.init(fe);  		if (fe->ops.i2c_gate_ctrl)  			fe->ops.i2c_gate_ctrl(fe, 0); @@ -583,6 +585,8 @@ restart:  		if (fe->ops.set_voltage)  			fe->ops.set_voltage(fe, SEC_VOLTAGE_OFF);  		if (fe->ops.tuner_ops.sleep) { +			if (fe->ops.i2c_gate_ctrl) +				fe->ops.i2c_gate_ctrl(fe, 1);  			fe->ops.tuner_ops.sleep(fe);  			if (fe->ops.i2c_gate_ctrl)  				fe->ops.i2c_gate_ctrl(fe, 0); @@ -932,7 +936,8 @@ void dtv_property_dump(struct dtv_property *tvp)  int is_legacy_delivery_system(fe_delivery_system_t s)  {  	if((s == SYS_UNDEFINED) || (s == SYS_DVBC_ANNEX_AC) || -		(s == SYS_DVBC_ANNEX_B) || (s == SYS_DVBT) || (s == SYS_DVBS)) +	   (s == SYS_DVBC_ANNEX_B) || (s == SYS_DVBT) || (s == SYS_DVBS) || +	   (s == SYS_ATSC))  		return 1;  	return 0;  |