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

Commit 323ea2db authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "coresight: fix the mutex deadlock issue in cpu hotplug path"

parents 60e724ec 0aabb4b5
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -3483,8 +3483,12 @@ out:
	return NOTIFY_OK;
err1:
	if (--count == 0) {
		/* Release the cpu_add_remove_lock */
		cpu_maps_update_done();
		unregister_hotcpu_notifier(&etm_cpu_notifier);
		unregister_hotcpu_notifier(&etm_cpu_dying_notifier);
		/* Set to the original state of lock */
		cpu_maps_update_begin();
	}
	if (clk_disable[cpu]) {
		clk_disable_unprepare(etmdrvdata[cpu]->clk);