diff options
author | Michael Krufky <mkrufky@linuxtv.org> | 2007-05-05 11:05:39 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-07-18 13:23:12 -0400 |
commit | 77d675047062d514acdc1bbe9f84658b39f99abe (patch) | |
tree | 5b1026b1be33ef349152eedb091693900cf41b8e /drivers/media/dvb/ttpci/budget-av.c | |
parent | 900858ecb30c27ac94369052be650e25c0fd7d2a (diff) |
V4L/DVB (5632): Dvb-pll: pass dvb_frontend_parameters to generic set() function
Rename dvb_pll_desc.setbw() to set(), and accept struct dvb_frontend_parameters
instead of passing both freq and bandwidth, so that this may be used as a
generic function.
In order to do this, dvb_pll_configure must also be altered in the same manner,
to take struct dvb_frontend_parameters instead of freq and bandwidth.
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/dvb/ttpci/budget-av.c')
-rw-r--r-- | drivers/media/dvb/ttpci/budget-av.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/media/dvb/ttpci/budget-av.c b/drivers/media/dvb/ttpci/budget-av.c index 0e817d6f1ce..8de19cefb24 100644 --- a/drivers/media/dvb/ttpci/budget-av.c +++ b/drivers/media/dvb/ttpci/budget-av.c | |||
@@ -839,8 +839,7 @@ static int philips_sd1878_tda8261_tuner_set_params(struct dvb_frontend *fe, | |||
839 | if((params->frequency < 950000) || (params->frequency > 2150000)) | 839 | if((params->frequency < 950000) || (params->frequency > 2150000)) |
840 | return -EINVAL; | 840 | return -EINVAL; |
841 | 841 | ||
842 | rc=dvb_pll_configure(&dvb_pll_philips_sd1878_tda8261, buf, | 842 | rc=dvb_pll_configure(&dvb_pll_philips_sd1878_tda8261, buf, params); |
843 | params->frequency, 0); | ||
844 | if(rc < 0) return rc; | 843 | if(rc < 0) return rc; |
845 | 844 | ||
846 | if (fe->ops.i2c_gate_ctrl) | 845 | if (fe->ops.i2c_gate_ctrl) |