upstream: [media] xc5000: Fix get_frequency() 98/25798/1
authorMauro Carvalho Chehab <m.chehab@samsung.com>
Mon, 21 Jul 2014 17:21:18 +0000 (14:21 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Sun, 10 Aug 2014 02:32:48 +0000 (23:32 -0300)
commit4670754a603754fd316388daa5c5ce8923677adf
tree168ac331c51e873e7f6a831b1a973da80279aa00
parent80c64ef6c48ef5b29bc231529cafd49396976469
upstream: [media] xc5000: Fix get_frequency()

The programmed frequency on xc5000 is not the middle
frequency, but the initial frequency on the bandwidth range.
However, the DVB API works with the middle frequency.

Cc: stable@vger.kernel.org
Backports http://git.linuxtv.org/cgit.cgi/media_tree.git/commit/?id=a3eec916cbc1
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Change-Id: Ifadbdd319edb4f9189da2203547ba77456544908
drivers/media/tuners/xc5000.c