Browse Source

msm: camera: ife: Fix variable assignment indentation

Fix clang warning about improper indentation level of a variable
assignment following a one-line if statement.

CRs-Fixed: 2835738
Change-Id: If31d282044ddffc668b1b59b105edd4d5ce4aee7
Signed-off-by: Karthik Jayakumar <[email protected]>
Karthik Jayakumar 4 years ago
parent
commit
70550a00c5
1 changed files with 2 additions and 3 deletions
  1. 2 3
      drivers/cam_isp/isp_hw_mgr/cam_ife_hw_mgr.c

+ 2 - 3
drivers/cam_isp/isp_hw_mgr/cam_ife_hw_mgr.c

@@ -8499,9 +8499,8 @@ static int cam_isp_sfe_add_scratch_buffer_cfg(
 				ctx->scratch_config.curr_num_exp))
 				continue;
 
-				cpu_addr = kmd_buf_info->cpu_addr +
-				kmd_buf_info->used_bytes / 4 +
-				io_cfg_used_bytes / 4;
+			cpu_addr = kmd_buf_info->cpu_addr +
+				kmd_buf_info->used_bytes / 4 + io_cfg_used_bytes / 4;
 			buf_info = &ctx->scratch_config.buf_info[
 				res_id - CAM_ISP_SFE_OUT_RES_RDI_0];