summaryrefslogtreecommitdiff
path: root/data/random/012.csv
diff options
context:
space:
mode:
Diffstat (limited to 'data/random/012.csv')
0 files changed, 0 insertions, 0 deletions
>cadf29dc2a8bcaae83e6e4c3229965de747c8601 (diff)
thermal: rockchip: handle set_trips without the trip points
In some cases, some sensors didn't need the trip points, the set_trips will pass {-INT_MAX, INT_MAX} to trigger tsadc alarm in the end, ignore this case and disable the high temperature interrupt. Signed-off-by: Caesar Wang <wxt@rock-chips.com> Reviewed-by: Brian Norris <briannorris@chromium.org> Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
Diffstat
-rw-r--r--drivers/thermal/rockchip_thermal.c16
1 files changed, 15 insertions, 1 deletions
diff --git a/drivers/thermal/rockchip_thermal.c b/drivers/thermal/rockchip_thermal.c