mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-03 12:24:37 -04:00
media: atomisp: Avoid comma separated statements
Use semicolons and braces. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
This commit is contained in:
committed by
Mauro Carvalho Chehab
parent
c1bca5b5ce
commit
0104949370
@@ -410,8 +410,10 @@ int atomisp_subdev_set_selection(struct v4l2_subdev *sd,
|
||||
|
||||
if (atomisp_subdev_format_conversion(isp_sd,
|
||||
isp_sd->capture_pad)
|
||||
&& crop[pad]->width && crop[pad]->height)
|
||||
crop[pad]->width -= padding_w, crop[pad]->height -= padding_h;
|
||||
&& crop[pad]->width && crop[pad]->height) {
|
||||
crop[pad]->width -= padding_w;
|
||||
crop[pad]->height -= padding_h;
|
||||
}
|
||||
|
||||
/* if subdev type is SOC camera,we do not need to set DVS */
|
||||
if (isp->inputs[isp_sd->input_curr].type == SOC_CAMERA)
|
||||
|
||||
Reference in New Issue
Block a user