[PATCH] dvb: ttpci: budget-av / tu1216 fix for QAM128
authorJohannes Stezenbach <js@linuxtv.org>
Fri, 8 Jul 2005 00:57:58 +0000 (17:57 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 8 Jul 2005 01:23:57 +0000 (18:23 -0700)
Fix for QAM128 in VHF band suggested by Timo Helkiƶ.

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/ttpci/budget-av.c

index 9e65bfd59c429b35a77628b9241c15e4f1e50692..b65f4b0a481f65a5627e9bcc6fc226a1b77f14bf 100644 (file)
@@ -570,9 +570,9 @@ static int philips_cu1216_pll_set(struct dvb_frontend *fe, struct dvb_frontend_p
 
        buf[0] = (div >> 8) & 0x7f;
        buf[1] = div & 0xff;
-       buf[2] = 0x8e;
-       buf[3] = (params->frequency < 174500000 ? 0xa1 :
-                 params->frequency < 454000000 ? 0x92 : 0x34);
+       buf[2] = 0x86;
+       buf[3] = (params->frequency < 150000000 ? 0x01 :
+                 params->frequency < 445000000 ? 0x02 : 0x04);
 
        if (i2c_transfer(&budget->i2c_adap, &msg, 1) != 1)
                return -EIO;