diff options
author | Patrick Boettcher <pb@linuxtv.org> | 2008-08-30 11:15:54 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-10-12 07:36:56 -0400 |
commit | bccd7003aef20e040cef95d1216dac26199d7071 (patch) | |
tree | b5c7e2bb8a40ac0778c31854fcbcf8746187609e /drivers/media/dvb/frontends/dvb_dummy_fe.c | |
parent | 6ea9a1829a89515c1866151b1fdca7ee612d1490 (diff) |
V4L/DVB (8866): Add dummy FE to the Kconfig-file and fix it
Reactivated dummy frontend driver which is extremely useful for debugging.
Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb/frontends/dvb_dummy_fe.c')
-rw-r--r-- | drivers/media/dvb/frontends/dvb_dummy_fe.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/media/dvb/frontends/dvb_dummy_fe.c b/drivers/media/dvb/frontends/dvb_dummy_fe.c index fed09dfb2b7..cb4d8a3b9d8 100644 --- a/drivers/media/dvb/frontends/dvb_dummy_fe.c +++ b/drivers/media/dvb/frontends/dvb_dummy_fe.c | |||
@@ -75,9 +75,10 @@ static int dvb_dummy_fe_get_frontend(struct dvb_frontend* fe, struct dvb_fronten | |||
75 | 75 | ||
76 | static int dvb_dummy_fe_set_frontend(struct dvb_frontend* fe, struct dvb_frontend_parameters *p) | 76 | static int dvb_dummy_fe_set_frontend(struct dvb_frontend* fe, struct dvb_frontend_parameters *p) |
77 | { | 77 | { |
78 | if (fe->ops->tuner_ops->set_params) { | 78 | if (fe->ops.tuner_ops.set_params) { |
79 | fe->ops->tuner_ops->set_params(fe, p); | 79 | fe->ops.tuner_ops.set_params(fe, p); |
80 | if (fe->ops->i2c_gate_ctrl) fe->ops->i2c_gate_ctrl(fe, 0); | 80 | if (fe->ops.i2c_gate_ctrl) |
81 | fe->ops.i2c_gate_ctrl(fe, 0); | ||
81 | } | 82 | } |
82 | 83 | ||
83 | return 0; | 84 | return 0; |