]> git.karo-electronics.de Git - linux-beck.git/commitdiff
[media] drxk_hard: fix bad alignments
authorMauro Carvalho Chehab <m.chehab@samsung.com>
Wed, 3 Sep 2014 22:11:45 +0000 (19:11 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Wed, 3 Sep 2014 22:19:18 +0000 (19:19 -0300)
drivers/media/dvb-frontends/drxk_hard.c:2224:3-22: code aligned with following code on line 2227

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/dvb-frontends/drxk_hard.c

index 88182c18e18654a0518b4ce949eb84b445e5dab5..672195147d015778cefbfefd5fdbf1126e1e67be 100644 (file)
@@ -2220,12 +2220,13 @@ static int set_agc_rf(struct drxk_state *state,
                }
 
                /* Set TOP, only if IF-AGC is in AUTO mode */
-               if (p_if_agc_settings->ctrl_mode == DRXK_AGC_CTRL_AUTO)
+               if (p_if_agc_settings->ctrl_mode == DRXK_AGC_CTRL_AUTO) {
                        status = write16(state,
                                         SCU_RAM_AGC_IF_IACCU_HI_TGT_MAX__A,
                                         p_agc_cfg->top);
                        if (status < 0)
                                goto error;
+               }
 
                /* Cut-Off current */
                status = write16(state, SCU_RAM_AGC_RF_IACCU_HI_CO__A,