diff options
author | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-07-21 13:28:15 -0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-09-17 09:19:05 -0700 |
commit | 42d452afa6b8d1b5661c51c68f645d0d1183b6d6 (patch) | |
tree | 3c4125094ea32e531627541979cf19b5fc8068af /block/ioctl.c | |
parent | ffb5428a73274d3420163c65379cb99b5d3b468e (diff) |
media: xc4000: Fix get_frequency()
commit 4c07e32884ab69574cfd9eb4de3334233c938071 upstream.
The programmed frequency on xc4000 is not the middle
frequency, but the initial frequency on the bandwidth range.
However, the DVB API works with the middle frequency.
This works fine on set_frontend, as the device calculates
the needed offset. However, at get_frequency(), the returned
value is the initial frequency. That's generally not a big
problem on most drivers, however, starting with changeset
6fe1099c7aec, the frequency drift is taken into account at
dib7000p driver.
This broke support for PCTV 340e, with uses dib7000p demod and
xc4000 tuner.
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'block/ioctl.c')
0 files changed, 0 insertions, 0 deletions