aboutsummaryrefslogtreecommitdiff
path: root/drivers/media/dvb/frontends/stb6100.c
diff options
context:
space:
mode:
authorManu Abraham <abraham.manu@gmail.com>2008-01-18 11:28:48 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-12-29 17:53:21 -0200
commit763fbaf65a3f7fd571db427a376e727faeb5bfc5 (patch)
tree39192052e71a1de6331822a3b54f4b34763abed4 /drivers/media/dvb/frontends/stb6100.c
parent27a330d1240ffeaca8c7cf2a2eb6a5fbeef3c4ec (diff)
V4L/DVB (9443): Bug: Bandwidth calculation
Bug #1: The 5 tap equaliser is set to correct simple perturbations like reflections on the IF cable for DVB-S. In the case of DVB-S2 a more powerful equalizer is used to correct the filter group delay allowing the bandwidth to be reduced by a factor of 1/3 Bug #2: The ZIF tuner takes badwidth to be set in Hz Signed-off-by: Manu Abraham <manu@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb/frontends/stb6100.c')
-rw-r--r--drivers/media/dvb/frontends/stb6100.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb/frontends/stb6100.c b/drivers/media/dvb/frontends/stb6100.c
index d19a3bfcc5f..f4c2b8e114b 100644
--- a/drivers/media/dvb/frontends/stb6100.c
+++ b/drivers/media/dvb/frontends/stb6100.c
@@ -269,7 +269,7 @@ static int stb6100_set_bandwidth(struct dvb_frontend *fe, u32 bandwidth)
dprintk(verbose, FE_DEBUG, 1, "set bandwidth to %u kHz", bandwidth);
- bandwidth *= 1000 / 2; /* kHz -> Hz, bw / 2 */
+ bandwidth /= 2; /* ZIF */
if (bandwidth > 36000000) /* F[4:0] BW/2 max =31+5=36 mhz for F=31 */
tmp = 31;