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

Commit b7c30268 authored by Mao Jinlong's avatar Mao Jinlong Committed by Gerrit - the friendly Code Review server
Browse files

coresight: etm4x: sysfs: use smp cross read for trcpdsr



Use smp cross call for trcpdsr to avoid the register access issue
when read trcpdsr.

Change-Id: Id2b71bfa90a302182bb6e21a185de5acf66d769b
Signed-off-by: default avatarMao Jinlong <jinlmao@codeaurora.org>
parent 4e009b46
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2074,7 +2074,7 @@ static u32 etmv4_cross_read(const struct device *dev, u32 offset)
			      name, offset)

coresight_etm4x_reg(trcpdcr, TRCPDCR);
coresight_etm4x_reg(trcpdsr, TRCPDSR);
coresight_etm4x_cross_read(trcpdsr, TRCPDSR);
coresight_etm4x_reg(trclsr, TRCLSR);
coresight_etm4x_reg(trcauthstatus, TRCAUTHSTATUS);
coresight_etm4x_reg(trcdevid, TRCDEVID);