[media] xc5000: Fix get_frequency()
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>
Wed, 23 Jul 2014 00:43:39 +0000 (21:43 -0300)
commita3eec916cbc17dc1aaa3ddf120836cd5200eb4ef
treed3821edc22568e98577c2c5eb64e86ea59eeb22e
parent612ae142ac02e8b187f23b8c9f1cc9cd8c6a078d
[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
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/tuners/xc5000.c