summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/frontends/stv6110x.c
diff options
context:
space:
mode:
authorManu Abraham2010-01-23 09:49:08 +0100
committerMauro Carvalho Chehab2010-05-18 05:46:47 +0200
commitc5b74b0f5e81386ca1e9b1128de83502e92fa028 (patch)
tree581f8bdba31fc29a576440bbd85373a435a04bfa /drivers/media/dvb/frontends/stv6110x.c
parentV4L/DVB: [STV090x] Code simplification (diff)
downloadkernel-qcow2-linux-c5b74b0f5e81386ca1e9b1128de83502e92fa028.tar.gz
kernel-qcow2-linux-c5b74b0f5e81386ca1e9b1128de83502e92fa028.tar.xz
kernel-qcow2-linux-c5b74b0f5e81386ca1e9b1128de83502e92fa028.zip
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.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/media/dvb/frontends/stv6110x.c b/drivers/media/dvb/frontends/stv6110x.c
index dea4245f077c..c1ddb83e6349 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,