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

Skip to content
Commit 9f229822 authored by Mao Jinlong's avatar Mao Jinlong Committed by Tingwei Zhang
Browse files

coresight: tmc: Avoid reading tmc node before it being enabled



It is possible that the mem_size of tmc_etr will be allocated failed
while enabling. And if we read tmc-etr after this, system reset will
happen. So don't read tmc before it being enabled.

CRs-Fixed: 2243995
Change-Id: I6a0be80834f7d4c1c7464f9684228e5b35f31a77
Signed-off-by: default avatarMao Jinlong <jinlmao@codeaurora.org>
Signed-off-by: default avatarTingwei Zhang <tingwei@codeaurora.org>
parent bdd918fd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment