Skip to content
Snippets Groups Projects
Commit 43cf74ee authored by Arve Hjønnevåg's avatar Arve Hjønnevåg
Browse files

ARM: etm: Add some missing locks and error checks


It is not safe to call etm_lock or etb_lock without holding the
mutex since another thread may also have unlocked the registers.

Also add some missing checks for valid etb_regs in the etm sysfs
entries.

Change-Id: I939f76a6ea7546a8fc0d4ddafa2fd2b6f38103bb
Signed-off-by: default avatarArve Hjønnevåg <arve@android.com>
parent aac86688
Branches
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment