summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@localhost>2016-09-12 14:42:20 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2016-09-12 14:42:19 -0700
commit172717f1c76177289013755ca2e9343f81d1dae2 (patch)
tree74c7aebdba20e532b2d965678a3b2c6d83f79f7b
parentdfad0f9a64b90e5dcead72516199d89f2cc620a1 (diff)
parent9199ccc71b8de0f8ebabd31ce4917de9fb3ae65b (diff)
Merge "coresight-tpda: add support to generate FREQTS packets"
-rw-r--r--drivers/hwtracing/coresight/coresight-tpda.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/hwtracing/coresight/coresight-tpda.c b/drivers/hwtracing/coresight/coresight-tpda.c
index 4ccf30c1d3d0..c43d8596a203 100644
--- a/drivers/hwtracing/coresight/coresight-tpda.c
+++ b/drivers/hwtracing/coresight/coresight-tpda.c
@@ -94,6 +94,10 @@ static void __tpda_enable_pre_port(struct tpda_drvdata *drvdata)
val = val | BIT(2);
else
val = val & ~BIT(2);
+
+ /* Force ASYNC-VERSION-FREQTS sequence */
+ val = val | BIT(21);
+
tpda_writel(drvdata, val, TPDA_CR);
/*