msm: camera: reqmgr: Remove division on uint64_t
Arm arch does not support dividing 64 bit integer, replacing it with do_div call. CRs-Fixed: 2543730 Change-Id: I86f8c706d20978b4c7bfd78c499dacb482c4d37a Signed-off-by: Trishansh Bhardwaj <tbhardwa@codeaurora.org>
This commit is contained in:
Родитель
09e2bdc6bf
Коммит
4e9f21ee27
|
@ -1198,10 +1198,11 @@ static int __cam_req_mgr_check_sync_req_is_ready(
|
|||
* difference of two SOF timestamp less than
|
||||
* (sync_frame_duration / 5).
|
||||
*/
|
||||
do_div(sync_frame_duration, 5);
|
||||
if ((link->sof_timestamp > sync_link->sof_timestamp) &&
|
||||
(sync_link->sof_timestamp > 0) &&
|
||||
(link->sof_timestamp - sync_link->sof_timestamp <
|
||||
sync_frame_duration / 5) &&
|
||||
sync_frame_duration) &&
|
||||
(sync_rd_slot->sync_mode == CAM_REQ_MGR_SYNC_MODE_SYNC)) {
|
||||
|
||||
/*
|
||||
|
|
Загрузка…
Ссылка в новой задаче