summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
authorCaesar Wang <wxt@rock-chips.com>2016-12-12 14:05:35 +0300
committerEduardo Valentin <edubezval@gmail.com>2016-12-14 07:32:08 +0300
commit18591add41ec9558ce0e32ef88626c18cc70c686 (patch)
tree52ee4a9ad20ad134b128d7e7d88850f7361a6d60 /firmware
parentcadf29dc2a8bcaae83e6e4c3229965de747c8601 (diff)
downloadlinux-18591add41ec9558ce0e32ef88626c18cc70c686.tar.xz
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 'firmware')
0 files changed, 0 insertions, 0 deletions