diff options
author | Oliver Endriss <o.endriss@gmx.de> | 2007-08-25 13:17:53 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-10-09 22:07:03 -0300 |
commit | 608f62d6ffbc21067e8b9a09f887a5d6cbfe7617 (patch) | |
tree | e4b6e80ffda15edf00142b82ebe54300ecbfb443 /drivers/media | |
parent | 849be2cdf11eef830ec2a3f916c8e7d1e51bc9fb (diff) | |
download | kernel_samsung_tuna-608f62d6ffbc21067e8b9a09f887a5d6cbfe7617.zip kernel_samsung_tuna-608f62d6ffbc21067e8b9a09f887a5d6cbfe7617.tar.gz kernel_samsung_tuna-608f62d6ffbc21067e8b9a09f887a5d6cbfe7617.tar.bz2 |
V4L/DVB (6107): dvb_frontend: clean-up shutdown handling
Now dvb_powerdown_on_sleep controls whether
- whether LNB power is turned off
- whether the tuner/frontend enters sleep mode
Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media')
-rw-r--r-- | drivers/media/dvb/dvb-core/dvb_frontend.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/media/dvb/dvb-core/dvb_frontend.c b/drivers/media/dvb/dvb-core/dvb_frontend.c index 32017f6..b203640 100644 --- a/drivers/media/dvb/dvb-core/dvb_frontend.c +++ b/drivers/media/dvb/dvb-core/dvb_frontend.c @@ -573,10 +573,9 @@ restart: dvb_frontend_swzigzag(fe); } - if (dvb_shutdown_timeout) { - if (dvb_powerdown_on_sleep) - if (fe->ops.set_voltage) - fe->ops.set_voltage(fe, SEC_VOLTAGE_OFF); + if (dvb_powerdown_on_sleep) { + if (fe->ops.set_voltage) + fe->ops.set_voltage(fe, SEC_VOLTAGE_OFF); if (fe->ops.tuner_ops.sleep) { fe->ops.tuner_ops.sleep(fe); if (fe->ops.i2c_gate_ctrl) |