Skip to content

Commit b6b415a

Browse files
iamkarthikbkmchehab
authored andcommitted
media: atomisp: i2c: atomisp-ov2680.c: fixed a brace coding style issue.
Fixed a coding style issue. Signed-off-by: B K Karthik <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
1 parent fb25954 commit b6b415a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

drivers/staging/media/atomisp/i2c/atomisp-ov2680.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -495,11 +495,11 @@ static int ov2680_h_flip(struct v4l2_subdev *sd, s32 value)
495495
ret = ov2680_read_reg(client, 1, OV2680_MIRROR_REG, &val);
496496
if (ret)
497497
return ret;
498-
if (value) {
498+
if (value)
499499
val |= OV2680_FLIP_MIRROR_BIT_ENABLE;
500-
} else {
500+
else
501501
val &= ~OV2680_FLIP_MIRROR_BIT_ENABLE;
502-
}
502+
503503
ret = ov2680_write_reg(client, 1,
504504
OV2680_MIRROR_REG, val);
505505
if (ret)

0 commit comments

Comments
 (0)