techpack: camera-bengal: 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:
Alexander Winkowski
2023-08-22 13:35:53 +00:00
committed by Michael Bestas
parent 1f337f06c2
commit 2b7f56236b

View File

@@ -1769,7 +1769,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));
@@ -1777,6 +1777,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;