diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-01-16 10:01:20 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-03-21 19:31:43 -0400 |
commit | 46f7296a52caf4e270ee43d9402eb0cecef13fdd (patch) | |
tree | e501a075aa9b2bc9ac0ac863a8058f7ba002ed25 /drivers/media/dvb/frontends | |
parent | b4d6046e841955be9cc49164b03b91c9524f9c2e (diff) |
[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: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb/frontends')
-rw-r--r-- | drivers/media/dvb/frontends/dib7000p.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/media/dvb/frontends/dib7000p.c b/drivers/media/dvb/frontends/dib7000p.c index b3ca3e2f8d53..900af60b9d36 100644 --- a/drivers/media/dvb/frontends/dib7000p.c +++ b/drivers/media/dvb/frontends/dib7000p.c | |||
@@ -880,7 +880,7 @@ static void dib7000p_set_channel(struct dib7000p_state *state, struct dvb_fronte | |||
880 | case TRANSMISSION_MODE_2K: | 880 | case TRANSMISSION_MODE_2K: |
881 | value |= (0 << 7); | 881 | value |= (0 << 7); |
882 | break; | 882 | break; |
883 | case TRANSMISSION_MODE_4K: | 883 | case TRANSMISSION_MODE_4K: |
884 | value |= (2 << 7); | 884 | value |= (2 << 7); |
885 | break; | 885 | break; |
886 | default: | 886 | default: |
@@ -1207,7 +1207,7 @@ static int dib7000p_tune(struct dvb_frontend *demod, struct dvb_frontend_paramet | |||
1207 | case TRANSMISSION_MODE_2K: | 1207 | case TRANSMISSION_MODE_2K: |
1208 | tmp |= (2 << 12); | 1208 | tmp |= (2 << 12); |
1209 | break; | 1209 | break; |
1210 | case TRANSMISSION_MODE_4K: | 1210 | case TRANSMISSION_MODE_4K: |
1211 | tmp |= (3 << 12); | 1211 | tmp |= (3 << 12); |
1212 | break; | 1212 | break; |
1213 | default: | 1213 | default: |
@@ -1223,7 +1223,7 @@ static int dib7000p_tune(struct dvb_frontend *demod, struct dvb_frontend_paramet | |||
1223 | case TRANSMISSION_MODE_2K: | 1223 | case TRANSMISSION_MODE_2K: |
1224 | tmp |= 0x6; | 1224 | tmp |= 0x6; |
1225 | break; | 1225 | break; |
1226 | case TRANSMISSION_MODE_4K: | 1226 | case TRANSMISSION_MODE_4K: |
1227 | tmp |= 0x7; | 1227 | tmp |= 0x7; |
1228 | break; | 1228 | break; |
1229 | default: | 1229 | default: |
@@ -1325,7 +1325,7 @@ static int dib7000p_get_frontend(struct dvb_frontend *fe, struct dvb_frontend_pa | |||
1325 | case 1: | 1325 | case 1: |
1326 | fep->u.ofdm.transmission_mode = TRANSMISSION_MODE_8K; | 1326 | fep->u.ofdm.transmission_mode = TRANSMISSION_MODE_8K; |
1327 | break; | 1327 | break; |
1328 | /* case 2: fep->u.ofdm.transmission_mode = TRANSMISSION_MODE_4K; break; */ | 1328 | /* case 2: fep->u.ofdm.transmission_mode = TRANSMISSION_MODE_4K; break; */ |
1329 | } | 1329 | } |
1330 | 1330 | ||
1331 | switch (tps & 0x3) { | 1331 | switch (tps & 0x3) { |