Skip to content

Commit

Permalink
V4L/DVB (3864): Convert dvb_dummy_fe to refactored tuner code
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Andrew de Quincey authored and Mauro Carvalho Chehab committed Jun 25, 2006
1 parent 81d8a8d commit 089e980
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions drivers/media/dvb/frontends/dvb_dummy_fe.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 089e980

Please sign in to comment.