[media] cx24123: improve precision when calculating symbol rate ratio
authorMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 8 Apr 2013 00:11:53 +0000 (21:11 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 8 Apr 2013 10:12:44 +0000 (07:12 -0300)
commit752a62b2ec9c21931dce869f2ae2c921c83a1164
tree2cbcebc4cd623a187a1c6c2d6b55075a71790e72
parent0562aef296c251e50b0934e6af113c511349dd9c
[media] cx24123: improve precision when calculating symbol rate ratio

Symbol rate ratio were using a rough calculus, as the code was
limited to 32 bits arithmetic. Change it to 64 bits, in order
to better estimate the bandwidth low-pass filter on the demod.
This should reduce the noise and improve reception.

Reported-by: Hans-Peter Jansen <hpj@urpla.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb-frontends/cx24123.c