mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-08 21:22:09 -04:00
msm: camera: isp: Update the reported_req_id correctly
The request id is updated to 0 when the substate is BUBBLE, then the original request id can't be notified to UMD, since the reported_req_id is already updated to the original request id. This change updateds the reported_req_id only when the final request id is valid. CRs-Fixed: 2932602 Change-Id: Ib30f849782283c647f784cfb0deb49bee3d04287 Signed-off-by: Depeng Shao <depengs@codeaurora.org>
This commit is contained in:
parent
f9f491b84d
commit
dd8b69b832
1 changed files with 3 additions and 1 deletions
|
|
@ -1863,7 +1863,6 @@ notify_only:
|
|||
if ((!req_isp->bubble_detected) &&
|
||||
(req->request_id > ctx_isp->reported_req_id)) {
|
||||
request_id = req->request_id;
|
||||
ctx_isp->reported_req_id = request_id;
|
||||
__cam_isp_ctx_update_event_record(ctx_isp,
|
||||
CAM_ISP_CTX_EVENT_EPOCH, req);
|
||||
break;
|
||||
|
|
@ -1873,6 +1872,9 @@ notify_only:
|
|||
if (ctx_isp->substate_activated == CAM_ISP_CTX_ACTIVATED_BUBBLE)
|
||||
request_id = 0;
|
||||
|
||||
if (request_id != 0)
|
||||
ctx_isp->reported_req_id = request_id;
|
||||
|
||||
__cam_isp_ctx_send_sof_timestamp(ctx_isp, request_id,
|
||||
CAM_REQ_MGR_SOF_EVENT_SUCCESS);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue