OSDN Git Service

coresight-tpda: skip writing '0' to FREQREQ_VAL register
authorShashank Mittal <mittals@codeaurora.org>
Wed, 24 Aug 2016 01:47:50 +0000 (18:47 -0700)
committerShashank Mittal <mittals@codeaurora.org>
Thu, 25 Aug 2016 19:47:11 +0000 (12:47 -0700)
commitff509cd1a729e278b0f0b22ecb4d451b0b5e016d
tree0595254725b60cdcbbc370cedbf93557734feaf8
parente97b6a0e0217f7c072fdad6c50673cd7a64348e1
coresight-tpda: skip writing '0' to FREQREQ_VAL register

FREQREQ_VAL is configured by RPM at the time of frequency switch.
TPDA enable sequence resets this register if user doesn't provide a
freq_req_val. This can be problem as it can accidentally reset the value
configured by RPM.

Change-Id: I2eb733bac700de372ae680cf74a251bb463e6650
Signed-off-by: Shashank Mittal <mittals@codeaurora.org>
drivers/hwtracing/coresight/coresight-tpda.c