• Antti Palosaari's avatar
    [media] r820t: add support for R828D · 7315b933
    Antti Palosaari authored
    Small changes in order to support tuner version R828D @ 16 MHz clock.
    There was 'vco_fine_tune' check, which seems to adjust synthesizer
    output divider (mixer dix / LO div / Rout) by one. R828D seems to
    return vco_fine_tune=1 every time and that condition causes tuning
    fail as output divider was increased by one.
    Resolve problem by skipping whole condition in case of R828D tuner.
    Just to mention, other tuner, R820T, seems to return 2 here.
    Synthesizer maximum frequency check was hard coded to check synthesizer N
    and thus worked correctly only for clock frequencies around 30 MHz.
    As whole test is quite useless in any case, I removed it totally.
    Signed-off-by: default avatarAntti Palosaari <crope@iki.fi>
    Signed-off-by: default avatarMauro Carvalho Chehab <m.chehab@samsung.com>
    7315b933
r820t.c 54.2 KB