diff options
author | Andrew de Quincey <adq_dvb@lidskialf.net> | 2006-04-18 22:47:10 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-06-25 06:58:51 +0200 |
commit | 089e980939ae4f0ff14d1fe816885aa8f00c6e75 (patch) | |
tree | 32f663f59af20a2beb0a6a290d0095755e81baad | |
parent | V4L/DVB (3863): Convert cx24110 to refactored tuner code (diff) | |
download | linux-089e980939ae4f0ff14d1fe816885aa8f00c6e75.tar.xz linux-089e980939ae4f0ff14d1fe816885aa8f00c6e75.zip |
V4L/DVB (3864): Convert dvb_dummy_fe to refactored tuner code
Make it call the tuner calls - in case someone wants to use it to develop a
tuner without a demod.
Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
-rw-r--r-- | drivers/media/dvb/frontends/dvb_dummy_fe.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/media/dvb/frontends/dvb_dummy_fe.c b/drivers/media/dvb/frontends/dvb_dummy_fe.c index 645946a992d9..78ea4ff03e68 100644 --- a/drivers/media/dvb/frontends/dvb_dummy_fe.c +++ b/drivers/media/dvb/frontends/dvb_dummy_fe.c @@ -77,6 +77,11 @@ static int dvb_dummy_fe_get_frontend(struct dvb_frontend* fe, struct dvb_fronten static int dvb_dummy_fe_set_frontend(struct dvb_frontend* fe, struct dvb_frontend_parameters *p) { + if (fe->ops->tuner_ops->set_params) { + fe->ops->tuner_ops->set_params(fe, p); + if (fe->ops->i2c_gate_ctrl) fe->ops->i2c_gate_ctrl(fe, 0); + } + return 0; } |