diff options
author | Manu Abraham <abraham.manu@gmail.com> | 2010-01-23 03:49:08 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-05-17 23:46:47 -0400 |
commit | c5b74b0f5e81386ca1e9b1128de83502e92fa028 (patch) | |
tree | 581f8bdba31fc29a576440bbd85373a435a04bfa /drivers/media/dvb/ttpci | |
parent | 19c4ee58325ac7c9d9595153fabb5d885dfe931e (diff) |
V4L/DVB: [STV090x, STV6110x] Use tuner sleep within the demodulator control
Oliver Endriss <o.endriss@gmx.de> pointed out:
Imho not a good idea, as the frontend thread calls
- fe->ops.tuner_ops.init
- fe->ops.tuner_ops.sleep
If you remove fe->ops.i2c_gate_ctrl, init and sleep will fail,
because gate_ctrl was never called...
--
Signed-off-by: Manu Abraham <manu@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb/ttpci')
-rw-r--r-- | drivers/media/dvb/ttpci/budget.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/dvb/ttpci/budget.c b/drivers/media/dvb/ttpci/budget.c index 1500210c06cf..e5cb1022d9db 100644 --- a/drivers/media/dvb/ttpci/budget.c +++ b/drivers/media/dvb/ttpci/budget.c | |||
@@ -442,6 +442,7 @@ static struct stv090x_config tt1600_stv090x_config = { | |||
442 | .repeater_level = STV090x_RPTLEVEL_16, | 442 | .repeater_level = STV090x_RPTLEVEL_16, |
443 | 443 | ||
444 | .tuner_init = NULL, | 444 | .tuner_init = NULL, |
445 | .tuner_sleep = NULL, | ||
445 | .tuner_set_mode = NULL, | 446 | .tuner_set_mode = NULL, |
446 | .tuner_set_frequency = NULL, | 447 | .tuner_set_frequency = NULL, |
447 | .tuner_get_frequency = NULL, | 448 | .tuner_get_frequency = NULL, |
@@ -628,6 +629,7 @@ static void frontend_init(struct budget *budget) | |||
628 | &budget->i2c_adap); | 629 | &budget->i2c_adap); |
629 | 630 | ||
630 | tt1600_stv090x_config.tuner_init = ctl->tuner_init; | 631 | tt1600_stv090x_config.tuner_init = ctl->tuner_init; |
632 | tt1600_stv090x_config.tuner_sleep = ctl->tuner_sleep; | ||
631 | tt1600_stv090x_config.tuner_set_mode = ctl->tuner_set_mode; | 633 | tt1600_stv090x_config.tuner_set_mode = ctl->tuner_set_mode; |
632 | tt1600_stv090x_config.tuner_set_frequency = ctl->tuner_set_frequency; | 634 | tt1600_stv090x_config.tuner_set_frequency = ctl->tuner_set_frequency; |
633 | tt1600_stv090x_config.tuner_get_frequency = ctl->tuner_get_frequency; | 635 | tt1600_stv090x_config.tuner_get_frequency = ctl->tuner_get_frequency; |