diff mbox

tda10048: fix bitmask for the transmission mode

Message ID 1bc22666c5df5b6abebb23a35b3e666b.squirrel@webmail.ovh.net (mailing list archive)
State Accepted
Headers show

Commit Message

Guillaume Audirac May 6, 2010, 12:04 p.m. UTC
None
diff mbox

Patch

diff --git a/drivers/media/dvb/frontends/tda10048.c
b/drivers/media/dvb/frontends/tda10048.c
index 9006107..9a0ba30 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,
 		p->guard_interval =  GUARD_INTERVAL_1_4;
 		break;
 	}
-	switch (val & 0x02) {
+	switch (val & 0x03) {
 	case 0:
 		p->transmission_mode = TRANSMISSION_MODE_2K;
 		break;