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

Commit 792be0d9 authored by Haritha Chintalapati's avatar Haritha Chintalapati Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: camera: reqmgr: Fix timing issue while destroying the session"...

Merge "msm: camera: reqmgr: Fix timing issue while destroying the session" into camera-kernel.lnx.4.0
parents ce4e3d72 ee8e8ee8
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -3622,12 +3622,12 @@ static int __cam_req_mgr_unlink(struct cam_req_mgr_core_link *link)

	mutex_lock(&link->lock);

	/* Destroy workq of link */
	cam_req_mgr_workq_destroy(&link->workq);
	spin_lock_bh(&link->link_state_spin_lock);
	/* Destroy timer of link */
	crm_timer_exit(&link->watchdog);
	spin_unlock_bh(&link->link_state_spin_lock);
	/* Destroy workq of link */
	cam_req_mgr_workq_destroy(&link->workq);

	/* Cleanup request tables and unlink devices */
	__cam_req_mgr_destroy_link_info(link);