summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/frontends/stv6110x.h
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.h
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.h')
-rw-r--r--drivers/media/dvb/frontends/stv6110x.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/dvb/frontends/stv6110x.h b/drivers/media/dvb/frontends/stv6110x.h
index 2429ae6d7847..47516753929a 100644
--- a/drivers/media/dvb/frontends/stv6110x.h
+++ b/drivers/media/dvb/frontends/stv6110x.h
@@ -40,6 +40,7 @@ enum tuner_status {
struct stv6110x_devctl {
int (*tuner_init) (struct dvb_frontend *fe);
+ int (*tuner_sleep) (struct dvb_frontend *fe);
int (*tuner_set_mode) (struct dvb_frontend *fe, enum tuner_mode mode);
int (*tuner_set_frequency) (struct dvb_frontend *fe, u32 frequency);
int (*tuner_get_frequency) (struct dvb_frontend *fe, u32 *frequency);