aboutsummaryrefslogtreecommitdiff
path: root/lib/test-string_helpers.c
diff options
context:
space:
mode:
authorCaesar Wang <[email protected]>2016-12-12 19:05:35 +0800
committerEduardo Valentin <[email protected]>2016-12-13 20:32:08 -0800
commit18591add41ec9558ce0e32ef88626c18cc70c686 (patch)
tree52ee4a9ad20ad134b128d7e7d88850f7361a6d60 /lib/test-string_helpers.c
parentcadf29dc2a8bcaae83e6e4c3229965de747c8601 (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 <[email protected]> Reviewed-by: Brian Norris <[email protected]> Signed-off-by: Eduardo Valentin <[email protected]>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions