summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@linuxtv.org>2006-08-21 13:14:33 -0400
committerMichael Krufky <mkrufky@linuxtv.org>2006-08-21 13:14:33 -0400
commit680ddb43e12202d9ffff188f9cd0e68e2d32ecaa (patch)
treee0f5705a60d2f01f450a65c1d912f59839082565
parentab3d72f8f8af39a05199d1eb2f196ebf1004de46 (diff)
downloadmediapointer-dvb-s2-680ddb43e12202d9ffff188f9cd0e68e2d32ecaa.tar.gz
mediapointer-dvb-s2-680ddb43e12202d9ffff188f9cd0e68e2d32ecaa.tar.bz2
Restore tuner_ymec_tvf66t5_b_dff_pal_ranges[] to fix UHF switch functionality
From: Hermann Pitton <hermann-pitton@arcor.de> The tena_9533_di_pal_ranges use 0x04 instead the original 0x08 for the UHF (range 2) switching. This is wrong and therefore nothing happens. Restore tuner_ymec_tvf66t5_b_dff_pal_ranges[] to make the UHF switch working again. Signed-off-by: Hermann Pitton <hermann-pitton@arcor.de> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
-rw-r--r--linux/drivers/media/video/tuner-types.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/linux/drivers/media/video/tuner-types.c b/linux/drivers/media/video/tuner-types.c
index 627470a08..b59e72f71 100644
--- a/linux/drivers/media/video/tuner-types.c
+++ b/linux/drivers/media/video/tuner-types.c
@@ -963,11 +963,17 @@ static struct tuner_params tuner_lg_tdvs_h06xf_params[] = {
/* ------------ TUNER_YMEC_TVF66T5_B_DFF - Philips PAL ------------ */
+static struct tuner_range tuner_ymec_tvf66t5_b_dff_pal_ranges[] = {
+ { 16 * 160.25 /*MHz*/, 0x8e, 0x01, },
+ { 16 * 464.25 /*MHz*/, 0x8e, 0x02, },
+ { 16 * 999.99 , 0x8e, 0x08, },
+};
+
static struct tuner_params tuner_ymec_tvf66t5_b_dff_params[] = {
{
.type = TUNER_PARAM_TYPE_PAL,
- .ranges = tuner_tena_9533_di_pal_ranges,
- .count = ARRAY_SIZE(tuner_tena_9533_di_pal_ranges),
+ .ranges = tuner_ymec_tvf66t5_b_dff_pal_ranges,
+ .count = ARRAY_SIZE(tuner_ymec_tvf66t5_b_dff_pal_ranges),
},
};