diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-05-07 16:57:57 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-05-07 16:57:57 -0300 |
commit | 2f3950ef850d0983cce8573e8fc7f194d7008137 (patch) | |
tree | 0874be7cf9d942312798387b22c96fa3bb6cbcd4 /linux/drivers/media/dvb/dvb-usb | |
parent | bdfdce6729f2b17dbd9bcf08760806e98e27e9ca (diff) | |
download | mediapointer-dvb-s2-2f3950ef850d0983cce8573e8fc7f194d7008137.tar.gz mediapointer-dvb-s2-2f3950ef850d0983cce8573e8fc7f194d7008137.tar.bz2 |
Marked af9005 driver as experimental and add dependendy for qt1010
From: Luca Olivetti <luca@ventoso.org>
Marked af9005 driver as experimental and add dependendy for qt1010;
Added a dependency on qt1010 in Kconfig;
Corrected the experimental gain reduction of the mt2060 in case of
strong signal (though it is code included in #ifdef 0).
Signed-off-by: Luca Olivetti <luca@ventoso.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/drivers/media/dvb/dvb-usb')
-rw-r--r-- | linux/drivers/media/dvb/dvb-usb/Kconfig | 6 | ||||
-rw-r--r-- | linux/drivers/media/dvb/dvb-usb/af9005-fe.c | 8 |
2 files changed, 8 insertions, 6 deletions
diff --git a/linux/drivers/media/dvb/dvb-usb/Kconfig b/linux/drivers/media/dvb/dvb-usb/Kconfig index 09a1b2a4f..f5e496d65 100644 --- a/linux/drivers/media/dvb/dvb-usb/Kconfig +++ b/linux/drivers/media/dvb/dvb-usb/Kconfig @@ -221,8 +221,9 @@ config DVB_USB_OPERA1 config DVB_USB_AF9005 tristate "Afatech AF9005 DVB-T USB1.1 support" - depends on DVB_USB + depends on DVB_USB && EXPERIMENTAL select DVB_TUNER_MT2060 if !DVB_FE_CUSTOMISE + select DVB_TUNER_QT1010 if !DVB_FE_CUSTOMISE help Say Y here to support the Afatech AF9005 based DVB-T USB1.1 receiver and the TerraTec Cinergy T USB XE (Rev.1) @@ -231,5 +232,6 @@ config DVB_USB_AF9005_REMOTE tristate "Afatech AF9005 default remote control support" depends on DVB_USB_AF9005 help - Say Y here to support the default remote control decoding for the + Say Y here to support the default remote control decoding for the Afatech AF9005 based receiver. + diff --git a/linux/drivers/media/dvb/dvb-usb/af9005-fe.c b/linux/drivers/media/dvb/dvb-usb/af9005-fe.c index d17a41c4f..fd3320501 100644 --- a/linux/drivers/media/dvb/dvb-usb/af9005-fe.c +++ b/linux/drivers/media/dvb/dvb-usb/af9005-fe.c @@ -403,8 +403,8 @@ static int af9005_get_statistic(struct dvb_frontend *fe) if (ret == 0) { af9005_reset_pre_viterbi(fe); if (state->pre_vit_bit_count > 0) { - /* according to v 0.0.4 of the dvb api ber should be a multiple - of 10E-9 so we have to multiply the error count by + /* according to v 0.0.4 of the dvb api ber should be a multiple + of 10E-9 so we have to multiply the error count by 10E9=1000000000 */ numerator = (u64) state->pre_vit_error_count * (u64) 1000000000; @@ -495,7 +495,7 @@ static int af9005_fe_read_status(struct dvb_frontend *fe, fe_status_t * stat) #if 0 /* adjust mt2060 for strong signal (test) */ buf[0] = 0x0b; - if (strong) { + if (temp) { buf[1] = 0x30; } else { buf[1] = 0x33; @@ -878,7 +878,7 @@ static int af9005_fe_init(struct dvb_frontend *fe) if (i == 150) return -ETIMEDOUT; - /*FIXME in the dump + /*FIXME in the dump write B200 A9 write xd_g_reg_ofsm_clk 7 read eepr c6 (2) |