aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb
diff options
context:
space:
mode:
authorGuillaume Audirac <guillaume.audirac@webag.fr>2010-05-06 08:04:56 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-08-02 14:35:26 -0400
commit10ea89d03f9850bbfbc9969f5ec79eae879b614f (patch)
tree80da909e7699626a2b800f6b6752929e97a7ae57 /drivers/media/dvb
parent814522394ce1b6385571e3eaf747e99ab189a3c1 (diff)
V4L/DVB: tda10048: fix bitmask for the transmission mode
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>
Diffstat (limited to 'drivers/media/dvb')
-rw-r--r--drivers/media/dvb/frontends/tda10048.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb/frontends/tda10048.c b/drivers/media/dvb/frontends/tda10048.c
index 9006107bb259..9a0ba30ebb79 100644
--- a/drivers/media/dvb/frontends/tda10048.c
+++ b/drivers/media/dvb/frontends/tda10048.c
@@ -689,7 +689,7 @@ static int tda10048_get_tps(struct tda10048_state *state,
689 p->guard_interval = GUARD_INTERVAL_1_4; 689 p->guard_interval = GUARD_INTERVAL_1_4;
690 break; 690 break;
691 } 691 }
692 switch (val & 0x02) { 692 switch (val & 0x03) {
693 case 0: 693 case 0:
694 p->transmission_mode = TRANSMISSION_MODE_2K; 694 p->transmission_mode = TRANSMISSION_MODE_2K;
695 break; 695 break;