[media] tuner/xc2028: Fix frequency offset for radio mode
authorMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 31 Aug 2011 18:12:45 +0000 (15:12 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 31 Aug 2011 18:16:00 +0000 (15:16 -0300)
commitfd34cb08babcd898c6b0e30cd7d507ffa62685a1
treed4156da1751207bc73cf14e6b5b144b79545af11
parent4d37ece757a83c2858de9e40b9fa3da511f9ce38
[media] tuner/xc2028: Fix frequency offset for radio mode

In radio mode, no frequency offset should be used.

Instead of taking Thierry's patch that creates a separate function
to calculate the digital offset, it seemed better to just keep
everything at the same place.

Reported-by: Thierry Reding <thierry.reding@avionic-design.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/common/tuners/tuner-xc2028.c