summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <m.chehab@samsung.com>2014-09-04 00:16:00 +0200
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-09-04 00:18:08 +0200
commitcea130021448763b15f4b16af184bbab4be118fb (patch)
tree90360c7b789f21fe721b359186f7365b8da625d6
parent[media] sp8870: fix bad alignments (diff)
downloadlinux-cea130021448763b15f4b16af184bbab4be118fb.tar.xz
linux-cea130021448763b15f4b16af184bbab4be118fb.zip
[media] drxd_hard: fix bad alignments
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>
-rw-r--r--drivers/media/dvb-frontends/drxd_hard.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/media/dvb-frontends/drxd_hard.c b/drivers/media/dvb-frontends/drxd_hard.c
index ae2276db77bc..961641b67728 100644
--- a/drivers/media/dvb-frontends/drxd_hard.c
+++ b/drivers/media/dvb-frontends/drxd_hard.c
@@ -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,