Skip to content

Commit

Permalink
V4L/DVB: tda10048: fix bitmask for the transmission mode
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Guillaume Audirac authored and Mauro Carvalho Chehab committed Aug 2, 2010
1 parent 8145223 commit 10ea89d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/media/dvb/frontends/tda10048.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 10ea89d

Please sign in to comment.