diff options
author | Manu Abraham <abraham.manu@gmail.com> | 2010-01-23 08:49:08 (GMT) |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-05-18 03:46:47 (GMT) |
commit | c5b74b0f5e81386ca1e9b1128de83502e92fa028 (patch) | |
tree | 581f8bdba31fc29a576440bbd85373a435a04bfa /drivers/media/dvb/frontends/stv6110x.c | |
parent | 19c4ee58325ac7c9d9595153fabb5d885dfe931e (diff) | |
download | linux-fsl-qoriq-c5b74b0f5e81386ca1e9b1128de83502e92fa028.tar.xz |
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/frontends/stv6110x.c')
-rw-r--r-- | drivers/media/dvb/frontends/stv6110x.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/media/dvb/frontends/stv6110x.c b/drivers/media/dvb/frontends/stv6110x.c index dea4245..c1ddb83 100644 --- a/drivers/media/dvb/frontends/stv6110x.c +++ b/drivers/media/dvb/frontends/stv6110x.c @@ -338,14 +338,12 @@ static struct dvb_tuner_ops stv6110x_ops = { .frequency_max = 2150000, .frequency_step = 0, }, - - .init = stv6110x_init, - .sleep = stv6110x_sleep, .release = stv6110x_release }; static struct stv6110x_devctl stv6110x_ctl = { .tuner_init = stv6110x_init, + .tuner_sleep = stv6110x_sleep, .tuner_set_mode = stv6110x_set_mode, .tuner_set_frequency = stv6110x_set_frequency, .tuner_get_frequency = stv6110x_get_frequency, |