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

Commit 403b71a5 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 notify path"

parents 744c7da6 2e798855
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -3482,14 +3482,6 @@ static int etm_cpu_callback(struct notifier_block *nfb, unsigned long action,
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);
		clk_disable[cpu] = false;