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

Commit def64521 authored by Camera Software Integration's avatar Camera Software Integration Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: camera: isp: Update unlink handling to avoid race" into camera-kernel.lnx.3.1

parents 19c6a03a 2ff81a2f
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -3149,12 +3149,13 @@ static int __cam_req_mgr_unlink(struct cam_req_mgr_core_link *link)
	}

	mutex_lock(&link->lock);
	/* Destroy timer of link */
	crm_timer_exit(&link->watchdog);

	/* Destroy workq of link */
	cam_req_mgr_workq_destroy(&link->workq);

	/* Destroy timer of link */
	crm_timer_exit(&link->watchdog);

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