mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-12 13:55:32 +00:00
media: staging: media: atomisp: pci: Balance braces around conditional statements in file atomisp_subdev.c
Balance braces around conditional statements. Issue detected by checkpatch.pl. It happens in if-else statements where one of the commands uses braces around a block of code and the other command does not since it has just a single line of code. Signed-off-by: Aline Santana Cordeiro <alinesantanacordeiro@gmail.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
This commit is contained in:
parent
b6465b1d74
commit
41d1f1b039
1 changed files with 2 additions and 2 deletions
|
@ -472,9 +472,9 @@ int atomisp_subdev_set_selection(struct v4l2_subdev *sd,
|
|||
* when dvs is disabled.
|
||||
*/
|
||||
dvs_w = dvs_h = 12;
|
||||
} else
|
||||
} else {
|
||||
dvs_w = dvs_h = 0;
|
||||
|
||||
}
|
||||
atomisp_css_video_set_dis_envelope(isp_sd, dvs_w, dvs_h);
|
||||
atomisp_css_input_set_effective_resolution(isp_sd, stream_id,
|
||||
crop[pad]->width, crop[pad]->height);
|
||||
|
|
Loading…
Reference in a new issue