Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 87085f2f authored by Jeyaprakash Soundrapandian's avatar Jeyaprakash Soundrapandian Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: camera: isp: Protecting list during flush operation" into dev/msm-4.9-camx

parents ecec5563 3f935969
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1187,7 +1187,9 @@ static int __cam_isp_ctx_flush_req(struct cam_context *ctx,
				req_isp->fence_map_out[i].sync_id = -1;
			}
		}
		spin_lock_bh(&ctx->lock);
		list_add_tail(&req->list, &ctx->free_req_list);
		spin_unlock_bh(&ctx->lock);
	}

	if (flush_req->type == CAM_REQ_MGR_FLUSH_TYPE_CANCEL_REQ &&