]> git.karo-electronics.de Git - linux-beck.git/commitdiff
V4L/DVB: tda10048: fix bitmask for the transmission mode
authorGuillaume Audirac <guillaume.audirac@webag.fr>
Thu, 6 May 2010 12:04:56 +0000 (09:04 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 2 Aug 2010 18:35:26 +0000 (15:35 -0300)
Add a missing bit for reading the transmission mode (2K/8K) in
tda10048_get_tps

Signed-off-by: Guillaume Audirac <guillaume.audirac@webag.fr>
Signed-off-by: Steven Toth <stoth@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/frontends/tda10048.c

index 9006107bb25902baefd8385d9f74a40c14a11ad6..9a0ba30ebb79ca2b680891e7175e9acb20320990 100644 (file)
@@ -689,7 +689,7 @@ static int tda10048_get_tps(struct tda10048_state *state,
                p->guard_interval =  GUARD_INTERVAL_1_4;
                break;
        }
-       switch (val & 0x02) {
+       switch (val & 0x03) {
        case 0:
                p->transmission_mode = TRANSMISSION_MODE_2K;
                break;