summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorJinyoung Park <jinyoungp@nvidia.com>2012-12-25 17:53:58 -0500
committerNicolin Chen <nicolinc@nvidia.com>2017-08-11 15:14:14 -0400
commit0f18253e519327f8b1d0d3c2bf4863d71ff66fb8 (patch)
tree2aaea1adab14125b19d30abd6a5102efdb74662f /include/linux
parent521960793eddaef8af1446e0fac27155ebf7539d (diff)
misc: nct1008: Apply hysteresis to trip_temp
Apply hysteresis to trip_temp in nct1008_update and() and nct1008_ext_get_trip_temp() to be more accurate. Bug 1200202 Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com> Reviewed-on: http://git-master/r/174182 (cherry picked from commit 9b1cf8282c2b8db66ac13b7e4aa560bff383b90a) Change-Id: I672d05de9d3a8ae7c88d7714e943437170d82cdb Signed-off-by: Jinyoung Park <jinyoungp@nvidia.com> Reviewed-on: http://git-master/r/190959
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/nct1008.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/nct1008.h b/include/linux/nct1008.h
index c6beb0479..d5890cfe6 100644
--- a/include/linux/nct1008.h
+++ b/include/linux/nct1008.h
@@ -38,6 +38,7 @@ struct nct_trip_temp {
38 enum thermal_trip_type trip_type; 38 enum thermal_trip_type trip_type;
39 unsigned long state; 39 unsigned long state;
40 long hysteresis; 40 long hysteresis;
41 bool is_enabled;
41}; 42};
42 43
43#define NCT_MAX_TRIPS (32) 44#define NCT_MAX_TRIPS (32)