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

Commit 2798feb5 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.1.0

parents b8e80164 5ef07030
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);