mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-25 14:13:01 -04:00
Merge "msm: camera: core: Delete request from pending list in case of error" into camera-kernel.lnx.4.0
This commit is contained in:
commit
d1207eb24c
1 changed files with 3 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue