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

Skip to content
Commit a1aa682f authored by Tingwei Zhang's avatar Tingwei Zhang
Browse files

coresight: tmc: Correct the status for ETR disable



Mode in etr drvdata is not reset to CS_MODE_DISABLED in USB case.
In this case, following ETR enablement on mem mode won't work.  Set
the mode status correctly.  Coresight source should be disabled
in reset case and echo 0 > enable_source case.  Decrease the refcnt
to disable the source correctly.

Change-Id: I6f88efcd22ef56dc12f85a821a1dc004b4dda3d8
Signed-off-by: default avatarTingwei Zhang <tingwei@codeaurora.org>
parent 315ed7f6
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