msm: camera: sync: Update timeout for synx async wait

With the update in the synx driver for async wait, clients
are expected to register the callback with no specific
timeout value.

CRs-Fixed: 3434716
Change-Id: Ie9a5a88f9fddc9512b249919c843e2367de7db4e
Signed-off-by: Karthik Anantha Ram <quic_kartanan@quicinc.com>
This commit is contained in:
Karthik Anantha Ram
2023-02-16 19:36:15 -08:00
committed by Camera Software Integration
parent 03a686e77b
commit da94e6eb75

View File

@@ -693,6 +693,7 @@ int cam_synx_obj_register_cb(int32_t *sync_obj, int32_t row_idx,
cb_params.userdata = row;
cb_params.cancel_cb_func = NULL;
cb_params.h_synx = synx_obj;
cb_params.timeout_ms = SYNX_NO_TIMEOUT;
cb_params.cb_func = __cam_synx_obj_signal_cb;
if (test_bit(CAM_GENERIC_FENCE_TYPE_SYNX_OBJ, &cam_sync_monitor_mask))