]> git.karo-electronics.de Git - linux-beck.git/commitdiff
[media] tda18218: fix 6 MHz default IF frequency
authorAntti Palosaari <crope@iki.fi>
Sun, 13 Nov 2011 03:22:33 +0000 (00:22 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 24 Nov 2011 19:52:09 +0000 (17:52 -0200)
Default IF for 6 MHz bandwidth is 3 MHz. Use that.

Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/common/tuners/tda18218.c

index aacfe2387e28393d7eaf1f436cbc06afd0d29182..4fc29730a12ccf2305739c34efa625deef0a1f95 100644 (file)
@@ -141,7 +141,7 @@ static int tda18218_set_params(struct dvb_frontend *fe,
        switch (params->u.ofdm.bandwidth) {
        case BANDWIDTH_6_MHZ:
                LP_Fc = 0;
-               LO_Frac = params->frequency + 4000000;
+               LO_Frac = params->frequency + 3000000;
                break;
        case BANDWIDTH_7_MHZ:
                LP_Fc = 1;