[media] dib3000mc: Fix indentation
drivers/media/dvb-frontends/dib3000mc.c:134 dib3000mc_setup_pwm_state() warn: inconsistent indenting drivers/media/dvb-frontends/dib3000mc.c:144 dib3000mc_setup_pwm_state() warn: inconsistent indenting drivers/media/dvb-frontends/dib3000mc.c:420 dib3000mc_sleep() warn: inconsistent indenting drivers/media/dvb-frontends/dib3000mc.c:453 dib3000mc_set_channel_cfg() warn: inconsistent indenting The last one is actually due to a commented code. Let's rework it, in order to remove the sparse warning without removing the dead code, as it may be useful in the future. Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
This commit is contained in:
parent
361f2e8d97
commit
c7a092e36e
1 changed files with 10 additions and 6 deletions
|
@ -447,10 +447,14 @@ static void dib3000mc_set_channel_cfg(struct dib3000mc_state *state,
|
|||
dib3000mc_set_bandwidth(state, bw);
|
||||
dib3000mc_set_timing(state, ch->transmission_mode, bw, 0);
|
||||
|
||||
// if (boost)
|
||||
// dib3000mc_write_word(state, 100, (11 << 6) + 6);
|
||||
// else
|
||||
#if 1
|
||||
dib3000mc_write_word(state, 100, (16 << 6) + 9);
|
||||
#else
|
||||
if (boost)
|
||||
dib3000mc_write_word(state, 100, (11 << 6) + 6);
|
||||
else
|
||||
dib3000mc_write_word(state, 100, (16 << 6) + 9);
|
||||
#endif
|
||||
|
||||
dib3000mc_write_word(state, 1027, 0x0800);
|
||||
dib3000mc_write_word(state, 1027, 0x0000);
|
||||
|
|
Loading…
Add table
Reference in a new issue