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.c7
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 32017f62a82f..b203640ef1c5 100644
--- a/drivers/media/dvb/dvb-core/dvb_frontend.c
+++ b/drivers/media/dvb/dvb-core/dvb_frontend.c
@@ -573,10 +573,9 @@ restart:
573 dvb_frontend_swzigzag(fe); 573 dvb_frontend_swzigzag(fe);
574 } 574 }
575 575
576 if (dvb_shutdown_timeout) { 576 if (dvb_powerdown_on_sleep) {
577 if (dvb_powerdown_on_sleep) 577 if (fe->ops.set_voltage)
578 if (fe->ops.set_voltage) 578 fe->ops.set_voltage(fe, SEC_VOLTAGE_OFF);
579 fe->ops.set_voltage(fe, SEC_VOLTAGE_OFF);
580 if (fe->ops.tuner_ops.sleep) { 579 if (fe->ops.tuner_ops.sleep) {
581 fe->ops.tuner_ops.sleep(fe); 580 fe->ops.tuner_ops.sleep(fe);
582 if (fe->ops.i2c_gate_ctrl) 581 if (fe->ops.i2c_gate_ctrl)