]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] dvb: dst: fix tuning problem
authorSteffen Motzer <motzersn@tlink.de>
Fri, 8 Jul 2005 00:58:31 +0000 (17:58 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 8 Jul 2005 01:24:03 +0000 (18:24 -0700)
Fix tuning failure for 200103A200103A 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>
drivers/media/dvb/bt8xx/dst.c

index d8f4200065ee0d36688da05edfc02ec133dc43dc..9bd12832e3d9a18fd7b2a480edd63eb25dce9c50 100644 (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: