]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commita737ec11ec3619fa43a9e6b086a701ab2b28838c
treed3821edc22568e98577c2c5eb64e86ea59eeb22e
parent9d7cb268d5bb2282bf086b32baa373044060f334
[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