summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteffen Motzer <motzersn@tlink.de>2005-07-08 00:58:31 (GMT)
committerLinus Torvalds <torvalds@g5.osdl.org>2005-07-08 01:24:03 (GMT)
commit4b2bd30eb79c292a83b1dfd3cca6d435c02fd5c0 (patch)
treeabe95ba46576055c913eac5da10109a159454656
parent63b5c1c47fd6c5ae26d279756e8a050c721ea379 (diff)
downloadlinux-fsl-qoriq-4b2bd30eb79c292a83b1dfd3cca6d435c02fd5c0.tar.xz
[PATCH] dvb: dst: fix tuning problem
Fix tuning failure for 200103A, 200103A failed to tune to low band due to wrong tone setting on the 200103A. Signed-off-by: Steffen Motzer <motzersn@tlink.de> Signed-off-by: Manu Abraham <manu@kromtek.com> Signed-off-by: Johannes Stezenbach <js@linuxtv.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r--drivers/media/dvb/bt8xx/dst.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/media/dvb/bt8xx/dst.c b/drivers/media/dvb/bt8xx/dst.c
index d8f4200..9bd1283 100644
--- a/drivers/media/dvb/bt8xx/dst.c
+++ b/drivers/media/dvb/bt8xx/dst.c
@@ -1147,7 +1147,11 @@ static int dst_set_tone(struct dvb_frontend* fe, fe_sec_tone_mode_t tone)
switch (tone) {
case SEC_TONE_OFF:
- state->tx_tuna[2] = 0xff;
+ if (state->type_flags & DST_TYPE_HAS_OBS_REGS)
+ state->tx_tuna[2] = 0x00;
+ else
+ state->tx_tuna[2] = 0xff;
+
break;
case SEC_TONE_ON: