summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorLeo Yan <leo.yan@linaro.org>2016-03-29 14:27:12 +0300
committerEduardo Valentin <edubezval@gmail.com>2016-05-17 17:28:30 +0300
commit439dc96811739ad5440143140fe92df5140daf11 (patch)
treeb667a15530a31336df60443bd39ae609b5c2b83e /tools/perf/scripts/python
parent13849883475408272aaddcea00052bd9f4d9b4ca (diff)
downloadlinux-439dc96811739ad5440143140fe92df5140daf11.tar.xz
thermal: hisilicon: support to use any sensor
In current code sensor driver registers all 4 sensors together and if any of them has not bound to thermal zone successfully then driver will return failure for driver's initialization. As a result, if DT binds thermal zone with only one sensor, then the thermal driver will not work well anymore. So this patch is to fix this issue. It allows the thermal sensor driver can register any number sensors at initialization phase, and fix up code for other related code to skip related sensor's accessing if the sensor has not been enabled in initialization phase. Signed-off-by: Leo Yan <leo.yan@linaro.org> Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions