summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb
diff options
context:
space:
mode:
authorOliver Endriss <o.endriss@gmx.de>2007-08-25 18:17:53 +0200
committerOliver Endriss <o.endriss@gmx.de>2007-08-25 18:17:53 +0200
commite51e7bec003d4711379f452a1a95403b7da608a7 (patch)
treefc0961c98973eacb016b7198fcdeadf1b37858e8 /linux/drivers/media/dvb
parent88169b52ca953c8c2f5ed891919a7cd479dd9a43 (diff)
downloadmediapointer-dvb-s2-e51e7bec003d4711379f452a1a95403b7da608a7.tar.gz
mediapointer-dvb-s2-e51e7bec003d4711379f452a1a95403b7da608a7.tar.bz2
dvb_frontend: clean-up shutdown handling
From: Oliver Endriss <o.endriss@gmx.de> 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>
Diffstat (limited to 'linux/drivers/media/dvb')
-rw-r--r--linux/drivers/media/dvb/dvb-core/dvb_frontend.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/linux/drivers/media/dvb/dvb-core/dvb_frontend.c b/linux/drivers/media/dvb/dvb-core/dvb_frontend.c
index f84f3284b..4f872ef7b 100644
--- a/linux/drivers/media/dvb/dvb-core/dvb_frontend.c
+++ b/linux/drivers/media/dvb/dvb-core/dvb_frontend.c
@@ -578,10 +578,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)