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: Amey Telawane <ameyt@codeaurora.org>
This commit is contained in:
parent
2f817b68f0
commit
bd1bdabd9f
1 changed files with 2 additions and 0 deletions
|
@ -2824,6 +2824,8 @@ err_late_init:
|
|||
unregister_hotcpu_notifier(&etm4_cpu_notifier);
|
||||
unregister_hotcpu_notifier(&etm4_cpu_dying_notifier);
|
||||
}
|
||||
etmdrvdata[drvdata->cpu] = NULL;
|
||||
dev_set_drvdata(dev, NULL);
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue