V4L/DVB (6245): GemTek Radio card - frequency calculation
authorTrent Piepho <xyzzy@speakeasy.org>
Mon, 1 Oct 2007 03:32:25 +0000 (00:32 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Wed, 10 Oct 2007 01:14:50 +0000 (22:14 -0300)
commit857e594ad5662349d95ad33f987cbf55cc356a90
treed5ad5fdc83564008dba1644adff48c4a1e95903a
parent4753647e6422341a091e729b9d81a9a5e7fe6179
V4L/DVB (6245):  GemTek Radio card - frequency calculation

Frequency calculation to use better math.  It's still the same
IF offset and step size (which are not the same as the datasheet says) as
the code was before.  It's just more efficient and accurate.

Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Reviewed-by: Pekka Seppänen <pexu@kapsi.fi>
Signed-off-by: Douglas Schilling Landgraf <dougsland@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/radio/radio-gemtek.c