Merge "msm: camera: core: Delete request from pending list in case of error" into camera-kernel.lnx.4.0

This commit is contained in:
Camera Software Integration 2021-10-11 11:33:06 -07:00 • committed by Gerrit - the friendly Code Review server
commit d1207eb24c

View file

@ -457,6 +457,9 @@ int32_t cam_context_prepare_dev_to_hw(struct cam_context *ctx,
rc = cam_sync_check_valid(
req->in_map_entries[j].sync_id);
if (rc) {
spin_lock(&ctx->lock);
list_del_init(&req->list);
spin_unlock(&ctx->lock);
CAM_ERR(CAM_CTXT,
"invalid in map sync object %d",
req->in_map_entries[j].sync_id);