]> git.karo-electronics.de Git - linux-beck.git/commitdiff
[media] drxd_hard: fix bad alignments
authorMauro Carvalho Chehab <m.chehab@samsung.com>
Wed, 3 Sep 2014 22:16:00 +0000 (19:16 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Wed, 3 Sep 2014 22:18:08 +0000 (19:18 -0300)
As reported by cocinelle:

drivers/media/dvb-frontends/drxd_hard.c:2632:3-51: code aligned with following code on line 2633

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

index ae2276db77bc8ff448aeb50a4314e1723619b470..961641b67728f23ee55942934b26144a8ef4c3fb 100644 (file)
@@ -2628,10 +2628,11 @@ static int DRXD_init(struct drxd_state *state, const u8 *fw, u32 fw_size)
                        break;
 
                /* Apply I2c address patch to B1 */
-               if (!state->type_A && state->m_HiI2cPatch != NULL)
+               if (!state->type_A && state->m_HiI2cPatch != NULL) {
                        status = WriteTable(state, state->m_HiI2cPatch);
                        if (status < 0)
                                break;
+               }
 
                if (state->type_A) {
                        /* HI firmware patch for UIO readout,