aboutsummaryrefslogtreecommitdiff
path: root/drivers/media/dvb/frontends
diff options
context:
space:
mode:
authorSteven Toth <stoth@linuxtv.org>2008-09-12 01:37:37 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-10-12 09:37:05 -0200
commitbfbf2dae30ed75bceccc6a88d2d9368694d6bf40 (patch)
treee0a0c548379bfb552553a247c6a90a4037adf562 /drivers/media/dvb/frontends
parent363429a089590f3f4071ebc492b3712fdcba770b (diff)
V4L/DVB (9004): S2API: Implement GET/SET handing to the demods
The frontends will be notified (if they chose) of all _get and _set commands so they can help determine result or action. Results are now returned to userspace correctly. Signed-off-by: Steven Toth <stoth@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb/frontends')
-rw-r--r--drivers/media/dvb/frontends/cx24116.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/dvb/frontends/cx24116.c b/drivers/media/dvb/frontends/cx24116.c
index 9f93930a259..0ac2c549308 100644
--- a/drivers/media/dvb/frontends/cx24116.c
+++ b/drivers/media/dvb/frontends/cx24116.c
@@ -802,9 +802,9 @@ static int cx24116_set_property(struct dvb_frontend *fe, struct dtv_property* tv
return 0;
}
-static int cx24116_set_params(struct dvb_frontend *fe)
+static int cx24116_get_property(struct dvb_frontend *fe, struct dtv_property* tvp)
{
- dprintk("%s(..) We were notified that a tune request may occur\n", __func__);
+ dprintk("%s(..)\n", __func__);
return 0;
}
@@ -964,7 +964,7 @@ static struct dvb_frontend_ops cx24116_ops = {
.diseqc_send_burst = cx24116_diseqc_send_burst,
.set_property = cx24116_set_property,
- .set_params = cx24116_set_params,
+ .get_property = cx24116_get_property,
.set_frontend = cx24116_set_frontend,
};