aboutsummaryrefslogtreecommitdiffstats
path: root/src/tuner_e4k.c
AgeCommit message (Collapse)AuthorFilesLines
2015-05-08Correct return code of e4k_reg_write().lcl1-1/+3
In contradiction with the documentation, e4k_reg_write() was returning the value 2 upon success (the number of bytes written), not zero as documented. Patched to return zero upon success. As a consequence, this corrects also the return value of e4k_reg_set_mask() and e4k_dc_offset_calibrate().
2014-02-04remove unused variables, type fixesSteve Markgraf1-2/+0
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2013-11-04remove e4k-specific I2C functions from librarySteve Markgraf1-8/+17
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2013-01-16lib: enable standby mode of e4k and r820t on exitSteve Markgraf1-0/+13
Since the R820T is a power hog and gets quite hot, this makes sense, especially when being battery- powered. Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-07-05add api function to control the IF gain for E4000 tunersDimitri Stolnikov1-2/+2
2012-06-08tuner_e4k: relicense driver under GPLv2+Steve Markgraf1-2/+7
All authors have agreed to relicense the driver under GPLv2+, for easing integration in other projects (such as V4L). Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-06-01print the frequency for which the PLL couldn't lockDimitri Stolnikov1-8/+8
2012-05-27tuner_e4k: workaround for band selection between 325 - 350 MHzSteve Markgraf1-0/+3
Thanks to roger and Kire Pudsje for reporting this problem, and Hoernchen for proposing the fix. Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-05-21tuner_e4k: fix returncode of e4k_set_enh_gain()Hoernchen1-1/+6
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-05-14tuner_e4k: use empty entry instead of offset for if_stage_gain_regs[]Hoernchen1-1/+2
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-05-10tuner_e4k: allow frequencies above INT_MAXSteve Markgraf1-7/+7
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-05-05tuner_e4k: fix a typo in choose_rf_filter functionDimitri Stolnikov1-1/+1
2012-05-05tuner_e4k: replace remaining printfs with fprintf to stderrSteve Markgraf1-2/+2
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-05-05uhf appears to work better for ads-bHoernchen1-13/+22
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-05-05tuner_e4k: fix off-by-one error in e4k_if_gain_set()Steve Markgraf1-1/+1
Thanks to patchvonbraun for providing debug logs that helped to track this beast down. Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-05-04use new E4000 tuner driver, allow manual gainSteve Markgraf1-0/+955
Many thanks to Hoernchen for making the driver work properly and adding manual gain! Signed-off-by: Steve Markgraf <steve@steve-m.de>