mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 08:36:12 -04:00
techpack: camera: Add missing braces in cam_ope_mgr_create_kmd_buf()
Cross-checked with msm-5.15 tag. The change does not exist as a separate commit and is squashed into the initial import. Change-Id: Ie922c512d7ea24661d3179cfd156ab8eb6fcc363 Signed-off-by: Alexander Winkowski <dereference23@outlook.com>
This commit is contained in:
parent
e0ff255206
commit
1ecb1c7ff0
1 changed files with 2 additions and 1 deletions
|
|
@ -1783,7 +1783,7 @@ static int cam_ope_mgr_create_kmd_buf(struct cam_ope_hw_mgr *hw_mgr,
|
|||
prepare_req.frame_process =
|
||||
(struct ope_frame_process *)ope_cmd_buf_addr;
|
||||
|
||||
for (i = 0; i < ope_hw_mgr->num_ope; i++)
|
||||
for (i = 0; i < ope_hw_mgr->num_ope; i++) {
|
||||
rc = hw_mgr->ope_dev_intf[i]->hw_ops.process_cmd(
|
||||
hw_mgr->ope_dev_intf[i]->hw_priv,
|
||||
OPE_HW_PREPARE, &prepare_req, sizeof(prepare_req));
|
||||
|
|
@ -1791,6 +1791,7 @@ static int cam_ope_mgr_create_kmd_buf(struct cam_ope_hw_mgr *hw_mgr,
|
|||
CAM_ERR(CAM_OPE, "OPE Dev prepare failed: %d", rc);
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
|
||||
end:
|
||||
return rc;
|
||||
|
|
|
|||
Loading…
Reference in a new issue