|
@@ -530,6 +530,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);
|