mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 05:39:54 -04:00
msm: camera: isp: Update last reported request ID correctly
The last reported request ID indicates the request ID for which the shutter was sent last. Only update this field for requests that have not bubbled in a given IFE ctx. CRs-Fixed: 2680502 Change-Id: I9ee4b479fe95800efa40ea1ff8d840fc79ef6528 Signed-off-by: Karthik Anantha Ram <kartanan@codeaurora.org>
This commit is contained in:
parent
beb3ea37bb
commit
26ef750076
1 changed files with 3 additions and 1 deletions
|
|
@ -1364,7 +1364,9 @@ static int __cam_isp_ctx_notify_sof_in_activated_state(
|
|||
}
|
||||
|
||||
list_for_each_entry(req, &ctx->active_req_list, list) {
|
||||
if (req->request_id > ctx_isp->reported_req_id) {
|
||||
req_isp = (struct cam_isp_ctx_req *) req->req_priv;
|
||||
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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue