summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/saa7134/saa7134-dvb.c
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@linuxtv.org>2007-05-05 11:05:39 -0400
committerMichael Krufky <mkrufky@linuxtv.org>2007-05-05 11:05:39 -0400
commit9e77d37f02dfdf40e28145025105c9b0d8466a21 (patch)
treeebad49c4d8753928b9a968a29a96eb37e4025ebd /linux/drivers/media/video/saa7134/saa7134-dvb.c
parent76775b7f2ced0c0301ac3ae201aafc3d9b88e091 (diff)
downloadmediapointer-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/video/saa7134/saa7134-dvb.c')
-rw-r--r--linux/drivers/media/video/saa7134/saa7134-dvb.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/linux/drivers/media/video/saa7134/saa7134-dvb.c b/linux/drivers/media/video/saa7134/saa7134-dvb.c
index 12af25bd1..b438bc352 100644
--- a/linux/drivers/media/video/saa7134/saa7134-dvb.c
+++ b/linux/drivers/media/video/saa7134/saa7134-dvb.c
@@ -182,9 +182,7 @@ static int mt352_aver777_tuner_calc_regs(struct dvb_frontend *fe, struct dvb_fro
return -EINVAL;
pllbuf[0] = 0x61;
- dvb_pll_configure(&dvb_pll_philips_td1316, pllbuf+1,
- params->frequency,
- params->u.ofdm.bandwidth);
+ dvb_pll_configure(&dvb_pll_philips_td1316, pllbuf+1, params);
return 5;
}