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

Commit df7ae49a authored by Amey Telawane's avatar Amey Telawane
Browse files

coresight: fix spinlock corruption issue



Spinlock corruption is observed on secure fuse
enabled devices due to invalid data present in
etmdrvdata array. Initialise the array
to fix the issue.

Change-Id: Ib16e3c3f6dc7d194af4eeca6f58c78483af71482
CRs-fixed: 1084892
Signed-off-by: default avatarAmey Telawane <ameyt@codeaurora.org>
parent ef3068bf
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -3702,8 +3702,10 @@ err1:
		unregister_hotcpu_notifier(&etm_cpu_notifier);
		unregister_hotcpu_notifier(&etm_cpu_dying_notifier);
	}
	etmdrvdata[cpu] = NULL;
err0:
	wakeup_source_trash(&drvdata->ws);
	platform_set_drvdata(pdev, NULL);
	return ret;
}