]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - drivers/media/dvb-frontends/zl10353.h
V4L/DVB (6656): zl10353: store frequencies in 0.1kHz to eliminate rounding errors
authorChris Pascoe <c.pascoe@itee.uq.edu.au>
Tue, 20 Nov 2007 11:17:54 +0000 (08:17 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Fri, 25 Jan 2008 21:02:37 +0000 (19:02 -0200)
commita1dcd9de648c8cf21abaeca7f77885665eed4117
treef35cdf7d007056445a0603a12fb20d3eed5ec7ba
parent702a67624e4bc9c7056418b576af928940b7dbb9
V4L/DVB (6656): zl10353: store frequencies in 0.1kHz to eliminate rounding errors

Whilst reanalysing my formulas I realised it was no longer possible to get the
right values for a 36.1667MHz IF due to rounding problems.

Storing frequencies in units of 0.1kHz makes it possible to calculate these
again correctly.

Signed-off-by: Chris Pascoe <c.pascoe@itee.uq.edu.au>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/dvb/dvb-usb/cxusb.c
drivers/media/dvb/frontends/zl10353.c
drivers/media/dvb/frontends/zl10353.h