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:
Alexander Winkowski 2023-08-22 13:35:53 +00:00 • committed by Michael Bestas
commit 1ecb1c7ff0
No known key found for this signature in database
GPG key ID: CC95044519BE6669

View file

@ -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;