summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/cx88/cx88-core.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2006-09-29 12:39:36 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2006-09-29 12:39:36 -0300
commitdb4527906bdd7ec317a1be20c7b5eeac70660a8f (patch)
tree9361adcf7ad3c78ae00effab64499351f978df0c /linux/drivers/media/video/cx88/cx88-core.c
parent1de263ac921ae95a5ef9594515cace643d30535f (diff)
downloadmediapointer-dvb-s2-db4527906bdd7ec317a1be20c7b5eeac70660a8f.tar.gz
mediapointer-dvb-s2-db4527906bdd7ec317a1be20c7b5eeac70660a8f.tar.bz2
norm_notchfilter is used on just one point and argument is bogus
From: Mauro Carvalho Chehab <mchehab@infradead.org> Removed norm_notchfilter function. All the code is bound to 4 x FSC, so, any other filter won't work fine. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/drivers/media/video/cx88/cx88-core.c')
-rw-r--r--linux/drivers/media/video/cx88/cx88-core.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/linux/drivers/media/video/cx88/cx88-core.c b/linux/drivers/media/video/cx88/cx88-core.c
index b3f3f4719..c2e6df733 100644
--- a/linux/drivers/media/video/cx88/cx88-core.c
+++ b/linux/drivers/media/video/cx88/cx88-core.c
@@ -698,11 +698,6 @@ static unsigned int inline norm_fsc8(struct cx88_tvnorm *norm)
return (norm->id & V4L2_STD_625_50) ? pal : ntsc;
}
-static unsigned int inline norm_notchfilter(struct cx88_tvnorm *norm)
-{
- return HLNotchFilter4xFsc;
-}
-
static unsigned int inline norm_htotal(struct cx88_tvnorm *norm)
{
/* Should always be Line Draw Time / (4*FSC) */
@@ -979,7 +974,7 @@ int cx88_set_tvnorm(struct cx88_core *core, struct cx88_tvnorm *norm)
// htotal
tmp64 = norm_htotal(norm) * (u64)vdec_clock;
do_div(tmp64, fsc8);
- htotal = (u32)tmp64 | (norm_notchfilter(norm) << 11);
+ htotal = (u32)tmp64 | (HLNotchFilter4xFsc << 11);
dprintk(1,"set_tvnorm: MO_HTOTAL 0x%08x [old=0x%08x,htotal=%d]\n",
htotal, cx_read(MO_HTOTAL), (u32)tmp64);
cx_write(MO_HTOTAL, htotal);