commit | 837c89ea5c2731c7ed22151cc2a36d0fafc65ad8 | [log] [tgz] |
---|---|---|
author | Saranya Chidura <schidura@codeaurora.org> | Wed Apr 04 15:39:58 2018 +0530 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Fri Apr 06 06:04:57 2018 -0700 |
tree | 9ba2328485386789fe9d925126dcfc64d95407b9 | |
parent | 34e1614ab73da32ca90acf7ffb84f49865f8a5f4 [diff] |
coresight: Fix the mem_type and mem_size of ETR The ETR sysfs nodes mem_type and mem_size can be altered when etr is in enabled state. But that does not the change the operation of ETR, as its already initialised with settings at the point of enablement.This fix check the ETR state, when user tries to change them on runtime. Signed-off-by: Saranya Chidura <schidura@codeaurora.org> Change-Id: Iba8c695dfa00d6183e88aab8316f16749d8da875