Commit 46f7296a authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab

[media] dib7000p: Fix 4-byte wrong alignments for some case statements

ERROR: switch and case should be at the same indent
 	switch (ch->u.ofdm.transmission_mode) {
[...]
+    case TRANSMISSION_MODE_4K:

WARNING: please, no spaces at the start of a line
+    case TRANSMISSION_MODE_4K:$

ERROR: switch and case should be at the same indent
 	switch (ch->u.ofdm.transmission_mode) {
[...]
+    case TRANSMISSION_MODE_4K:

WARNING: please, no spaces at the start of a line
+    case TRANSMISSION_MODE_4K:$

ERROR: switch and case should be at the same indent
 	switch (ch->u.ofdm.transmission_mode) {
[...]
+    case TRANSMISSION_MODE_4K:

WARNING: please, no spaces at the start of a line
+    case TRANSMISSION_MODE_4K:$

Cc: Patrick Boettcher <pboettcher@kernellabs.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent b4d6046e
...@@ -880,7 +880,7 @@ static void dib7000p_set_channel(struct dib7000p_state *state, struct dvb_fronte ...@@ -880,7 +880,7 @@ static void dib7000p_set_channel(struct dib7000p_state *state, struct dvb_fronte
case TRANSMISSION_MODE_2K: case TRANSMISSION_MODE_2K:
value |= (0 << 7); value |= (0 << 7);
break; break;
case TRANSMISSION_MODE_4K: case TRANSMISSION_MODE_4K:
value |= (2 << 7); value |= (2 << 7);
break; break;
default: default:
...@@ -1207,7 +1207,7 @@ static int dib7000p_tune(struct dvb_frontend *demod, struct dvb_frontend_paramet ...@@ -1207,7 +1207,7 @@ static int dib7000p_tune(struct dvb_frontend *demod, struct dvb_frontend_paramet
case TRANSMISSION_MODE_2K: case TRANSMISSION_MODE_2K:
tmp |= (2 << 12); tmp |= (2 << 12);
break; break;
case TRANSMISSION_MODE_4K: case TRANSMISSION_MODE_4K:
tmp |= (3 << 12); tmp |= (3 << 12);
break; break;
default: default:
...@@ -1223,7 +1223,7 @@ static int dib7000p_tune(struct dvb_frontend *demod, struct dvb_frontend_paramet ...@@ -1223,7 +1223,7 @@ static int dib7000p_tune(struct dvb_frontend *demod, struct dvb_frontend_paramet
case TRANSMISSION_MODE_2K: case TRANSMISSION_MODE_2K:
tmp |= 0x6; tmp |= 0x6;
break; break;
case TRANSMISSION_MODE_4K: case TRANSMISSION_MODE_4K:
tmp |= 0x7; tmp |= 0x7;
break; break;
default: default:
...@@ -1325,7 +1325,7 @@ static int dib7000p_get_frontend(struct dvb_frontend *fe, struct dvb_frontend_pa ...@@ -1325,7 +1325,7 @@ static int dib7000p_get_frontend(struct dvb_frontend *fe, struct dvb_frontend_pa
case 1: case 1:
fep->u.ofdm.transmission_mode = TRANSMISSION_MODE_8K; fep->u.ofdm.transmission_mode = TRANSMISSION_MODE_8K;
break; break;
/* case 2: fep->u.ofdm.transmission_mode = TRANSMISSION_MODE_4K; break; */ /* case 2: fep->u.ofdm.transmission_mode = TRANSMISSION_MODE_4K; break; */
} }
switch (tps & 0x3) { switch (tps & 0x3) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment