Commit d221d209 authored by Ankit Baluni's avatar Ankit Baluni Committed by Mauro Carvalho Chehab

media: atomisp: fix a brace coding sytle issue

Removed braces in 'if else' condition as it only consists of
one line each and according to coding style rules , in this case
the braces are not required.
Signed-off-by: default avatarAnkit Baluni <b18007@students.iitmandi.ac.in>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
parent 7e023a1c
......@@ -1830,11 +1830,10 @@ static int atomisp_streamon(struct file *file, void *fh,
dev_err(isp->dev, "master slave sensor stream on failed!\n");
goto out;
}
if (!IS_ISP2401) {
if (!IS_ISP2401)
__wdt_on_master_slave_sensor(isp, wdt_duration);
} else {
else
__wdt_on_master_slave_sensor_pipe(pipe, wdt_duration, true);
}
goto start_delay_wq;
} else if (asd->depth_mode->val && (atomisp_streaming_count(isp) <
ATOMISP_DEPTH_SENSOR_STREAMON_COUNT)) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment