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>
This commit is contained in:
committed by
Mauro Carvalho Chehab
parent
849be2cdf1
commit
608f62d6ff
@@ -573,8 +573,7 @@ restart:
|
|||||||
dvb_frontend_swzigzag(fe);
|
dvb_frontend_swzigzag(fe);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (dvb_shutdown_timeout) {
|
if (dvb_powerdown_on_sleep) {
|
||||||
if (dvb_powerdown_on_sleep)
|
|
||||||
if (fe->ops.set_voltage)
|
if (fe->ops.set_voltage)
|
||||||
fe->ops.set_voltage(fe, SEC_VOLTAGE_OFF);
|
fe->ops.set_voltage(fe, SEC_VOLTAGE_OFF);
|
||||||
if (fe->ops.tuner_ops.sleep) {
|
if (fe->ops.tuner_ops.sleep) {
|
||||||
|
|||||||
Reference in New Issue
Block a user