• Mauro Carvalho Chehab's avatar
    media: xc4000: Fix get_frequency() · d2b8c8c9
    Mauro Carvalho Chehab authored
    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
    6fe1099c, 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: default avatarMauro Carvalho Chehab <m.chehab@samsung.com>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
    d2b8c8c9
Name
Last commit
Last update
..
Kconfig Loading commit data...
Makefile Loading commit data...
e4000.c Loading commit data...
e4000.h Loading commit data...
e4000_priv.h Loading commit data...
fc0011.c Loading commit data...
fc0011.h Loading commit data...
fc0012-priv.h Loading commit data...
fc0012.c Loading commit data...
fc0012.h Loading commit data...
fc0013-priv.h Loading commit data...
fc0013.c Loading commit data...
fc0013.h Loading commit data...
fc001x-common.h Loading commit data...
fc2580.c Loading commit data...
fc2580.h Loading commit data...
fc2580_priv.h Loading commit data...
max2165.c Loading commit data...
max2165.h Loading commit data...
max2165_priv.h Loading commit data...
mc44s803.c Loading commit data...
mc44s803.h Loading commit data...
mc44s803_priv.h Loading commit data...
mt2060.c Loading commit data...
mt2060.h Loading commit data...
mt2060_priv.h Loading commit data...
mt2063.c Loading commit data...
mt2063.h Loading commit data...
mt20xx.c Loading commit data...
mt20xx.h Loading commit data...
mt2131.c Loading commit data...
mt2131.h Loading commit data...
mt2131_priv.h Loading commit data...
mt2266.c Loading commit data...
mt2266.h Loading commit data...
mxl5005s.c Loading commit data...
mxl5005s.h Loading commit data...
mxl5007t.c Loading commit data...
mxl5007t.h Loading commit data...
qt1010.c Loading commit data...
qt1010.h Loading commit data...
qt1010_priv.h Loading commit data...
r820t.c Loading commit data...
r820t.h Loading commit data...
tda18212.c Loading commit data...
tda18212.h Loading commit data...
tda18218.c Loading commit data...
tda18218.h Loading commit data...
tda18218_priv.h Loading commit data...
tda18271-common.c Loading commit data...
tda18271-fe.c Loading commit data...
tda18271-maps.c Loading commit data...
tda18271-priv.h Loading commit data...
tda18271.h Loading commit data...
tda827x.c Loading commit data...
tda827x.h Loading commit data...
tda8290.c Loading commit data...
tda8290.h Loading commit data...
tda9887.c Loading commit data...
tda9887.h Loading commit data...
tea5761.c Loading commit data...
tea5761.h Loading commit data...
tea5767.c Loading commit data...
tea5767.h Loading commit data...
tua9001.c Loading commit data...
tua9001.h Loading commit data...
tua9001_priv.h Loading commit data...
tuner-i2c.h Loading commit data...
tuner-simple.c Loading commit data...
tuner-simple.h Loading commit data...
tuner-types.c Loading commit data...
tuner-xc2028-types.h Loading commit data...
tuner-xc2028.c Loading commit data...
tuner-xc2028.h Loading commit data...
tuner_it913x.c Loading commit data...
tuner_it913x.h Loading commit data...
tuner_it913x_priv.h Loading commit data...
xc4000.c Loading commit data...
xc4000.h Loading commit data...
xc5000.c Loading commit data...
xc5000.h Loading commit data...