summaryrefslogtreecommitdiffstats
path: root/drivers/thermal/of-thermal.c
diff options
context:
space:
mode:
authorCaesar Wang <wxt@rock-chips.com>2016-12-12 19:05:35 +0800
committerEduardo Valentin <edubezval@gmail.com>2016-12-13 20:32:08 -0800
commit18591add41ec9558ce0e32ef88626c18cc70c686 (patch)
tree52ee4a9ad20ad134b128d7e7d88850f7361a6d60 /drivers/thermal/of-thermal.c
parentcadf29dc2a8bcaae83e6e4c3229965de747c8601 (diff)
downloadop-kernel-dev-18591add41ec9558ce0e32ef88626c18cc70c686.zip
op-kernel-dev-18591add41ec9558ce0e32ef88626c18cc70c686.tar.gz
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 (limited to 'drivers/thermal/of-thermal.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud