aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorDaniel Lezcano <daniel.lezcano@linaro.org>2017-10-19 19:05:50 +0200
committerEduardo Valentin <edubezval@gmail.com>2017-10-31 19:32:15 -0700
commitb424315a287c70eeb5f920f84c92492bd2f5658e (patch)
tree583f9f5014a378c615ccc23f81411ae71feaf17d /tools/perf/scripts/python/event_analyzing_sample.py
parent1e11b014271ceccb5ea04ae58f4829ac8209a86d (diff)
thermal/drivers/hisi: Fix configuration register setting
The TEMP0_CFG configuration register contains different field to set up the temperature controller. However in the code, nothing prevents a setup to overwrite the previous one: eg. writing the hdak value overwrites the sensor selection, the sensor selection overwrites the hdak value. In order to prevent such thing, use a regmap-like mechanism by reading the value before, set the corresponding bits and write the result. Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions