diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-04-14 13:29:42 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-04-14 13:29:42 -0300 |
commit | 015736e16a8af8a8fe96379031c6a637f4f3a1cb (patch) | |
tree | 4a4553e4adfaba823d15794482387264721ee553 /linux/drivers/media/video/cx88 | |
parent | 4c6d792a82b4304ed6ccbfccf9f5ed693a3349e2 (diff) | |
download | mediapointer-dvb-s2-015736e16a8af8a8fe96379031c6a637f4f3a1cb.tar.gz mediapointer-dvb-s2-015736e16a8af8a8fe96379031c6a637f4f3a1cb.tar.bz2 |
backport a few minor cleanups
From: Mauro Carvalho Chehab <mchehab@redhat.com>
kernel-sync:
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'linux/drivers/media/video/cx88')
-rw-r--r-- | linux/drivers/media/video/cx88/cx88-dsp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/drivers/media/video/cx88/cx88-dsp.c b/linux/drivers/media/video/cx88/cx88-dsp.c index 4699055f2..dfe2cfce4 100644 --- a/linux/drivers/media/video/cx88/cx88-dsp.c +++ b/linux/drivers/media/video/cx88/cx88-dsp.c @@ -111,8 +111,8 @@ static u32 int_goertzel(s16 x[], u32 N, u32 freq) s_prev = s; } - tmp = (s64)s_prev2*s_prev2 + (s64)s_prev*s_prev - - (s64)coeff*s_prev2*s_prev/32768; + tmp = (s64)s_prev2 * s_prev2 + (s64)s_prev * s_prev - + (s64)coeff * s_prev2 * s_prev / 32768; /* XXX: N must be low enough so that N*N fits in s32. * Else we need two divisions. */ |