diff options
| author | Michael Krufky <mkrufky@linuxtv.org> | 2007-05-05 11:05:39 -0400 |
|---|---|---|
| committer | Michael Krufky <mkrufky@linuxtv.org> | 2007-05-05 11:05:39 -0400 |
| commit | 9e77d37f02dfdf40e28145025105c9b0d8466a21 (patch) | |
| tree | ebad49c4d8753928b9a968a29a96eb37e4025ebd /linux/drivers/media/dvb/ttpci | |
| parent | 76775b7f2ced0c0301ac3ae201aafc3d9b88e091 (diff) | |
| download | mediapointer-dvb-s2-9e77d37f02dfdf40e28145025105c9b0d8466a21.tar.gz mediapointer-dvb-s2-9e77d37f02dfdf40e28145025105c9b0d8466a21.tar.bz2 | |
dvb-pll: pass dvb_frontend_parameters to generic set() function
From: Michael Krufky <mkrufky@linuxtv.org>
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>
Diffstat (limited to 'linux/drivers/media/dvb/ttpci')
| -rw-r--r-- | linux/drivers/media/dvb/ttpci/budget-av.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/linux/drivers/media/dvb/ttpci/budget-av.c b/linux/drivers/media/dvb/ttpci/budget-av.c index 0e817d6f1..8de19cefb 100644 --- a/linux/drivers/media/dvb/ttpci/budget-av.c +++ b/linux/drivers/media/dvb/ttpci/budget-av.c @@ -839,8 +839,7 @@ static int philips_sd1878_tda8261_tuner_set_params(struct dvb_frontend *fe, if((params->frequency < 950000) || (params->frequency > 2150000)) return -EINVAL; - rc=dvb_pll_configure(&dvb_pll_philips_sd1878_tda8261, buf, - params->frequency, 0); + rc=dvb_pll_configure(&dvb_pll_philips_sd1878_tda8261, buf, params); if(rc < 0) return rc; if (fe->ops.i2c_gate_ctrl) |
