[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>
This commit is contained in:
Steffen Motzer 2005-07-07 17:58:31 -07:00 committed by Linus Torvalds
parent 63b5c1c47f
commit 4b2bd30eb7
1 changed files with 5 additions and 1 deletions

View File

@ -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: