diff options
author | Krzysztof Kozlowski <k.kozlowski@samsung.com> | 2016-02-18 14:14:20 +0900 |
---|---|---|
committer | Eduardo Valentin <edubezval@gmail.com> | 2016-03-08 14:07:32 -0800 |
commit | 3a3a5f15869fa74472c377a556c3d00453403854 (patch) | |
tree | 0a1b427962400e09096bcded13dfcaf4dc6dd9fb /kernel | |
parent | fa7b29e8bfa288c8473d0c4a3ac120b3a2707e06 (diff) |
thermal: exynos: Print a message about exceeded number of supported trip-points
When DeviveTree contains more trip-points than SoC can configure
(usually more than four) and polling mode is not enabled, then the
remaining trip-points will be silently ignored. No interrupts will be
generated for them.
This might be quite dangerous when one provides DTB with a
non-configurable critical trip-point, like (assuming four supported
thresholds in TMU):
- alert @50 C (type: active),
- alert @60 C (type: active),
- alert @70 C (type: active),
- alert @80 C (type: active),
- critical @120 C (type: critical) <- no interrupts generated.
This is a mistake in DTB so print a message in such case.
Reviewed-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions